About
Test a JavaScript regular expression against sample text and read every match and group.
Test a JavaScript regular expression against sample text and list every match and capture group.
How it works. The pattern and flags are passed to the RegExp constructor. With the g flag the page steps through the text with exec and reports the index, match and groups. A zero length match moves the position on by one so the loop always ends.
Who runs it. Regex tester is run by the Utility Sites team. Contact contact@webutils.net.
Use it at your own risk.