if in my String two regex are continuous [comma(,) and space( )] so I want to treat one regex so what should I do.
String s = "He is a very very good boy, isn't he?"; String str[]=s.split("[!._,'@? ]"); My output is:-
11 He is a very very good boy space( ) isn t he I want this:-
10 He is a very very good boy isn t he