Regex Tester & Debugger
Test regular expressions with live matching, capture groups, and flag support. See matches highlighted in real-time as you type.
Pattern
Flags
Test String
Matches (0)
Enter a pattern to start
Frequently Asked Questions
›How do I test a regular expression?
Enter your regex pattern in the Pattern field, set your flags (g for global, i for case-insensitive, m for multiline), and paste your test string below. Matches appear instantly.
›What regex flags are supported?
All standard JavaScript flags: g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), and y (sticky).
›Does this show capture groups?
Yes. Each match shows its capture groups (parenthesized subexpressions) so you can debug complex patterns with named or numbered groups.
regexregexppatternmatchtest