I'm trying:
var str = "\\\\user-nb\\d$\\temp\\tmp1\\teste.TAR";
str = str.replace(/\\"/g,'&');
But it doesn't work ... Any help please? Thx all
I'm trying:
var str = "\\\\user-nb\\d$\\temp\\tmp1\\teste.TAR";
str = str.replace(/\\"/g,'&');
But it doesn't work ... Any help please? Thx all
Currently you are trying to replace all quotes. You want to replace all backslashes?
str.replace(/\\/g,'&');