I can\'t figure out why the following code doesn\'t behave as expected
\"Hello/You/There\".replaceAll(\"/\", \"\\\\/\");
There is actually a reason behind why all these are messed up. A little more digging deeper is done in this thread and might be helpful to understand the reason why "\\" behaves like this.