Text & Web Utilities
Regex Tester
Test and debug regular expressions live.
FreeNo sign-upWorks in your browser
2 matches
Contact us at hello@example.com or sales@digitaldrivehq.com.
| # | Match | Groups |
|---|---|---|
| 1 | hello@example.com | — |
| 2 | sales@digitaldrivehq.com | — |
About the Regex Tester
Test regular expressions free with live match highlighting. Type a pattern, set flags (g, i, m, s), paste sample text, and see every match highlighted instantly with its capture groups listed — no more guess-and-run debugging. It uses JavaScript's native regex engine, so what works here works in your Node.js and browser code exactly the same way.
How to use the Regex Tester
- 1Enter your regular expression and choose flags.
- 2Paste a test string.
- 3See matches highlighted and listed with their capture groups.
Frequently asked questions
Which regex flavor is this?
It uses JavaScript's regular expression engine, the same one that runs in every browser.
What do the flags mean?
g = global (all matches), i = case-insensitive, m = multiline, s = dot matches newlines.
Why isn't my regex matching?
Most often: unescaped special characters (. + ? ( ) [ ]), a missing g flag when expecting multiple matches, or greedy vs lazy quantifier confusion (.* vs .*?).