News

It's been a while since I worked on regexs in JavaScript, but generally the way you do this in most programming languages is to build the regex as a string and then pass it into the regex engine.