My String is ,
String myString = "Hello Boom, Ho3w are || You ? Are ^ you ," fr45ee now ?";
I tried the below to split the string as ,
"Hello,Boom,Ho3w,are,You,Are,you,fr45ee,now" - where comma indicates the separation of String to String array. My code is
String[] temp = data.split("\\s+\\^,?\"'\\|+");
But it is no working . Hope You people helps.Thanks.
myStringis not the correct string. you need to escape the"character.