But my immediate thought was: I don't want to write this in my app's own code. Give me the webapp and I'll put the legit regex in my code.
So the pitch here to to build a webapp that would let you build Verbal Expressions with a GUI, giving you a proper regex that you can copy and paste into your own source code. It probably makes sense to build it as a pure client-side app using the JSVerbalExpressions module.
These are some cool libraries: http://verbalexpressions.github.io/ (hat tip to @ascott1)
But my immediate thought was: I don't want to write this in my app's own code. Give me the webapp and I'll put the legit regex in my code.
So the pitch here to to build a webapp that would let you build Verbal Expressions with a GUI, giving you a proper regex that you can copy and paste into your own source code. It probably makes sense to build it as a pure client-side app using the JSVerbalExpressions module.