showing results for - "how to remove backslash from string in javascript"
Tommaso
17 Sep 2018
1string.replace(/\\\//g, "/");
Nicolás
19 Nov 2019
1string.replace(/\\\//g, "/");
2
3// this is also
4let new_arr = arr.replace(/\\/g, "");
queries leading to this page
how to remove backslash from response in javascript stringjavascript dont remove backslashgremove backslashes slashes from htm stringjavascript string remove backslashhow to remove slash from string in javascriptremove backslashes from string coming from backend in jsremove back slash from string jsregex remove backslash javascriptjs cancel backslashhow to remove all backslash from a string in javascriptremove single backslash from string javascriptremove backslashes from string javascriptjavascript strip backslasheshow to remove backslash from template in javascripthow to remove extra backslash from string in javascripthow to remove back slash from string in javascripthow to remove backslash from url in javascript stringjavascript remove all backslashes from stringjavascript remove backslashjavascript backslash in string removehow to remove backslash from string in javascriptremove text after backslash jsremove backslash in string javascriptno remove backslash string jsremove backslash jsremove backslash from string javascriptjavascript remove backslash characters from stringjs remove backslash from stringjs remove slash from stringhow to disable removing backslashes in jsremove backslash from string jshow to remove backslash from string havascripthow to remove the backslash from a string in javascript nodejswhy is backslash removed in javascriptremoving back slash characters from string jsjs match remove backslashhow to replace backslash with empty string in javascriptjs array remove backslashesjavascript remove backslash from stringjavascript escape backslashremove double backslash from string in javascriptremove all backslash from string javascriptjs remove slash in stringremove slashes and backslash javascriptremove backslash str replace javascriptremove backward slash from string javascriptjavascript string without remove backslashremove backslash from text in javascripthow to get rid of backslash in javascript stringsremove backslash from string typesriptjs remove backslash n from string javascript remove backslash quote from stringhow to remove backslash from string in javascript