Regex Tester

Test regular expressions with live match highlighting.

Runs entirely in your browser
//g

2 matches

hi alice@example.com and bob@rizo.top
#IndexMatchGroups
03alice@example.com$1=alice$2=example.com
125bob@rizo.top$1=bob$2=rizo.top

FAQ

Does the tool prevent ReDoS?
There's no hard timeout — JavaScript regex is synchronous. Runaway patterns can hang the tab. Prefer possessive alternations and avoid nested quantifiers on shared input.
Are named groups supported?
Yes. Any (?<name>…) shows up under 'named groups' in the match table.
How many matches are shown?
Up to 1000 to keep the UI responsive.

Related tools