Regex Tester & Matcher
Test regular expressions with live match highlighting, flags, and group capture details.
Flags:
//gi
2 matches found
Live Match Highlighting
Contact support at hello@example.com or sales@acme.co for questions.
Replacement Preview
Match Breakdown (2)
| # | Index | Match | Capture Groups |
|---|---|---|---|
| 1 | 19 | hello@example.com | None |
| 2 | 40 | sales@acme.co | None |
Was this tool helpful?
FAQ
›Which regular expression flags are supported?
Supports all standard JS regex flags: g (global), i (ignore case), m (multiline), s (dotAll), u (unicode), and y (sticky).
›How do capture groups work?
When parenthesized groups like (\w+) are used in your pattern, the match details panel displays every group match alongside its index.
›Can I test regex string replacements?
Yes. Enter a replacement string (including $1, $2 group backreferences) to test live text replacement.