Answers for "regex replace /"

7

regex replace /

// replaces all / in a String with _
str = str.replace(/\//g,'_');
Posted by: Guest on May-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language