I have situation where i need to remove "||" and insert a backslash from a string.
String s = "stack||overflow";
I need to replace and the resultant string should be "stack\overflow".
I tried using replaceAll function but didn't work.
Any help is appreciated.
Thanks, Sreekanth