I have this string:
var someString = \"23/03/2012\";
and want to replace all the \"/\" with \"-\".
I tried to do this:
<
Escape it: someString.replace(/\//g, "-");
someString.replace(/\//g, "-");