Removing backslashes from strings in javascript

Try

str = str.replace(/\\/g, '');

Leave a Comment