Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove backslash from string in javascript

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

// this is also
let new_arr = arr.replace(//g, "");
 
PREVIOUS NEXT
Tagged: #remove #backslash #string #javascript
ADD COMMENT
Topic
Name
5+5 =