I am writing a program in Java to accept queries. If I have a query like
insert
into
abc values ( e
, b );
...what regular expression can I use to convert that into:
insert into abc values(e,b);
...or:
insert:into:abc:values(e,b);
Actually I want to know how I can I write a regular expression to remove whitespace within brackets only.