MakerFlowTools
Free client-side suite
Back to MakerFlow

Regex Tester

Dev Tools

Test a regular expression against sample text, with every match highlighted and each capture group listed.

Runs in your browser•Zero cloud uploads / Files stay on device•No account required
Pattern
//g

Global — find every match, not just the first

Test against

Patterns run in a background worker with a 2-second limit, so a pattern that backtracks catastrophically stops instead of freezing this tab. JavaScript regex syntax, which differs from PCRE in places — no lookbehind in older Safari, no atomic groups.

Optimized For Platforms
developer

How it works

1Type a pattern and turn on the flags you need — g finds every match rather than just the first.
2Put your sample text underneath.
3Matches are highlighted in the text and listed with their position and capture groups.
4A group that did not take part in a match is shown differently from one that matched an empty string, because those are not the same thing.

Related tools in Dev Tools

View all Dev Tools tools →