For example, if you have escaped string like
Hello wo\\\\rld.txt
you want to unescape it and make it, Hello wo\\rld.txt
essentially making,
\\ -> \, \\r -> \r, \\n -> \n
,
etc
I tried doing string replace like:
out = out.replace("\\", "\");
but that is syntax error