hello all!
I am tring to remove words from string.
My example is:
str.replaceAll("\b((and)|(or)|(as)|(so that)|(while)|(at))\b"," ");
[\code]
but it's not working well.
the input:
like but or the love that i ande as want to be as you
and the out put is:
like but or the love that i ande as want to be as you
thanks to all!