Regex Tester
Test regular expressions against sample text, highlight matches and inspect capture groups.
Last updated
Highlighted results
Match details
How the Regex Tester works
Test regular expressions against sample text, highlight matches and inspect capture groups. No sign-up, no uploads — everything runs in your browser.
Frequently asked questions
Which flags can I use?
The tester supports g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode) and y (sticky), matching JavaScript regular expressions.
Is my test text private?
Yes. The regex runs in your browser and your text is never uploaded.