Regex tester

JavaScript RegExp syntax — matches capped at 500 per run to reduce hangs.