Simple Regular expression tester code example
Example 1: regex tester
One of my favorite regex testers:
https://regex101.com/
Example 2: regex /
// replaces all / in a String with _
str = str.replace(/\//g,'_');
One of my favorite regex testers:
https://regex101.com/
// replaces all / in a String with _
str = str.replace(/\//g,'_');