Create random strings that match a given regular expression.
Regular expressions are used in every language, every programmer is familiar with them. Regex can be used to easily express complex strings. What better way to generate random data?
Thanks to String-Random (perl) for giving me the idea to make this in the first place and randexp (ruby) for the nifty `.gen` syntax.
For node.js install with npm
npm install randexp
For use in browsers, download the minified version from the latest release.
MIT