Usuń operatę z sznurka

str = 'hai how are\ you?';
str = str.replace("\\", "");
console.log(str);

output: "hai how are you?"
Lokesh003