Regex Tester
Test JavaScript regular expressions in real time. View matches and capture groups.
//g
Contact us at hello@example.com or support@devtools.app — both addresses work.
Capture groups
#1 [14–31] hello@example.com
- $1: hello
- $2: example.com
#2 [35–55] support@devtools.app
- $1: support
- $2: devtools.app
About Regex Tester
Write a regex pattern and see live matches highlighted in your sample text. Toggle flags (g, i, m, s, u, y) and inspect capture groups for each match.
All processing happens entirely in your browser using modern web APIs. Nothing is uploaded to our servers — your data stays local. Free forever for everyone, with a Pro plan for power users who want an ad-free experience and API access.