Regex Tester
Test regular expressions with live matching and capture group display.
Matches: 2
hello@example.com@14support@test.org@35How to Use
- 1
Enter your regular expression pattern in the Pattern field.
- 2
Type or paste your test string in the Test String field.
- 3
View highlighted matches and capture groups in real time. Toggle flags like g, i, m, s as needed.
Features
Live Match Highlighting
Matches are highlighted in the test string in real time as you type your pattern.
Capture Group Display
See all named and numbered capture groups listed for each match.
Flag Controls
Toggle global (g), case-insensitive (i), multiline (m), and dotAll (s) flags with checkboxes.
Match Count
The total number of matches is shown so you can quickly verify your pattern is working correctly.
FAQ
What regex flags are supported?
Global (g), case-insensitive (i), multiline (m), and dotAll (s) flags.
Does it show capture groups?
Yes, named and numbered capture groups are displayed for each match.