I have this string:
var someString = \"23/03/2012\";
and want to replace all the \"/\" with \"-\".
I tried to do this:
<
Area.replace(new RegExp(/\//g), '-') replaces multiple forward slashes (/) with -
Area.replace(new RegExp(/\//g), '-')
/
-