Regex Tester
Test JavaScript regular expressions with capture groups and flags.
Edit the pattern, flags, and test string. Matches and capture groups update live.
Matches
- [0] index 12: hello@infoz.comgroups: ($1: hello) ($2: infoz.com)
- [1] index 31: partners@example.orggroups: ($1: partners) ($2: example.org)
About this tool
Compiles your pattern with the browser's RegExp constructor. Flags supported: g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), y (sticky). Errors from RegExp construction are surfaced inline.
All processing happens entirely in your browser — no input is sent to our servers.