What it does
Lets you write a JavaScript regular expression, apply it to a test string, and immediately see every match highlighted in the text, plus a detailed breakdown of each match (index, full match, capture groups, named groups).
Try it
How it works
- Your pattern and flags are passed straight to JavaScript's native
RegExpengine (new RegExp(pattern, flags)). - With the global flag
g, every non-overlapping match is found via repeated calls toRegExp.exec(); without it, only the first match is reported. - Matches are highlighted directly inside the test string, and each match lists its index, full matched text, numbered capture groups (
$1,$2...), and named groups ((?<name>...)) if any are used. - Invalid patterns show the exact error message thrown by the engine instead of silently failing.
Everything runs locally in your browser — nothing is sent anywhere.