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)
#IndexMatchCapture Groups
119hello@example.comNone
240sales@acme.coNone
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.

You may also like