Live regex matching, flags, common patterns library, and plain-English token explainer.
Your tool inputs are processed in this browser. We do not upload them to our servers.
Common patterns
//
Flags
Highlighted matches
2 matchesContact us at hello@example.com or support@test.org for help.
Match details
- hello@example.comindex 14
- support@test.orgindex 35
Pattern explainer
Plain-English breakdown of tokens (approximate โ complex regex may need extra care).
- \b โ Word boundary
- \w โ Word character (letter, digit, or _)
- + โ One or more of the previous token
- โ@โ โ Literal character
- \w โ Word character (letter, digit, or _)
- + โ One or more of the previous token
- \. โ Escaped literal โ.โ
- \w โ Word character (letter, digit, or _)
- + โ One or more of the previous token
- \b โ Word boundary
How to use the regex tester
Enter a JavaScript-compatible regular expression, toggle flags (g, i, m, s, u, y), or pick a common pattern (email, URL, phone, IPv4โฆ). Matches highlight instantly with group details and a token-by-token explainer. Everything runs in your browser.
Keep working