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 a random data than with a tool you can easily describe what string you want?
Thanks to String-Random for giving me the idea to make this in the first place and randexp for the nifty little `.gen` syntax.
For node.js install with npm
npm install randexp
For use in browsers, download the minified version from the latest release.
MIT
fent (https://github.com/fent)