Regex Tester
Test and debug regular expressions with live match highlighting.
- Fastest ResultsInstant, no waiting
- Privacy First100% local
- No LoginJust open & use
- Mobile FriendlyWorks on any device
/
/
Test string
0 matches
Matches
Auto-updated
How to Use
- Type your regular expression in the pattern field.
- Set flags (e.g.
g,i,m) in the small box after the slash. - Paste the text to test into the Test string box.
- Matches highlight live, with capture groups listed below.
- Click Copy matches to copy every match.
Examples
/\b[\w.+-]+@[\w-]+\.[\w.-]+\b/g Contact us at [email protected] or [email protected].
/#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})\b/g
Brand blue is #2563EB, accent green #22C55E, short form #abc.
Frequently Asked Questions
No. Matching runs entirely in your browser using the native JavaScript regex engine. Nothing you enter is uploaded or stored.
It uses the JavaScript (ECMAScript) regular expression engine, including flags like g, i, m, s and u.
Yes. Matches are highlighted in your test text as you type, and capture groups are listed for inspection.
Yes. Common patterns such as email, URL and date are available to start from and adapt.