I have a URL like this: http:\\/\\/www.example.com\\/example in a string object.
http:\\/\\/www.example.com\\/example
Can somebody tell me, how to remove the backslashes? <
Try this:
return myUrl.replaceAll("\\\\(.)", "\\/");