escaping the character  '\' in replace command so that its not treated as regex.