I try to replace "\" character to empty "" but I can't do it. How to solve it?
Here is my code
abc = abc.replace('\','');
to replace all occurrences in a string you need to use a regex with the g flag,
g
abc = abc.replace(/\\/g, '');