I am trying to do some stuff with replacing String containing some URL to a browser compatible linked URL.
My initial String looks like this :
\"hell
Assuming your regex works to capture the correct info, you can use backreferences in your substitution. See the Java regexp tutorial.
In that case, you'd do
myString.replaceAll(....., "\1")