Replace backslash string by brianVarley October 27, 2016 JavaScript var str = "EMEA\victorb"; str = str.replace(/\\/g, ':'); document.write(str);