how to remove backslash from string in javascript code example
Example 1: javascript string remove backslash
string.replace(/\\\//g, "/");
Example 2: how to remove backslash from string in javascript
string.replace(/\\\//g, "/");
// this is also
let new_arr = arr.replace(/\\/g, "");