how to remove the backslash from a string in javascript nodejs 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, "");