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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…