I have this string:
var someString = \"23/03/2012\";
and want to replace all the \"/\" with \"-\".
I tried to do this:
<
You need to escape your slash.
/\//g