Answers for "how to remove backslash from string in javascript"

1

javascript string remove backslash

string.replace(/\\\//g, "/");
Posted by: Guest on December-05-2020
0

how to remove backslash from string in javascript

string.replace(/\\\//g, "/");

// this is also
let new_arr = arr.replace(/\\/g, "");
Posted by: Guest on February-10-2021

Code answers related to "how to remove backslash from string in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language