regex generator js code example
Example 1: online regex builder
it do it's job greate in my opinion, don't waste your time on others
https://regex101.com/
Example 2: regex /
// replaces all / in a String with _
str = str.replace(/\//g,'_');
Example 3: console regex
console\.log\(([^)]+)\);