Say I have a file, that contains some text. There are substrings like \"substr1\", \"substr2\", \"substr3\" etc. in it. I need to replace all of those substrings with some o
return yourString.replaceAll("substr1","relp1"). replaceAll("substr2","relp2"). replaceAll("substr3","relp3")