Chuck Tomasi
Tera Patron

If you really must remove the colon and the backslash, you'll need to do it in two steps. 

str.replace(':\', ''); fails because backslash escapes the second quote and creates a syntax issue.

str.replace(':\\', ''); // removes \, but not colon, so...

var v1 = str.replace(':', '');

var v2 = v1.replace('\\', '');