Replacing the last space
Posted: Wed Sep 19, 2007 3:13 am
Hello guys I am really new to your forum, I have searched through the pages to find a solution before posting but didn't find anything matching my question.....
Well I have a string which always ands by ; I mean string ; and in that point I want to replace the space between the string and ; character. what is the correct expression to say replaceAll("\\s+\\;", "") I have tried this and it doesn't work....
thank you
Well I have a string which always ands by ; I mean string ; and in that point I want to replace the space between the string and ; character. what is the correct expression to say replaceAll("\\s+\\;", "") I have tried this and it doesn't work....
thank you