Regex Tester
Test, debug, and validate regular expressions with real-time matching and group capture.
Pattern
/
/
g
Test String
Match Result
Group Details
How to Use the Regex Tester
Enter your regular expression pattern in the top field and your test string below it. Matches are highlighted in real-time as you type. The flags g (global), i (case-insensitive), m (multiline), and s (dotAll) can be toggled independently.
Common regex patterns:
| \d+ | Match one or more digits |
| [a-zA-Z]+ | Match one or more letters |
| ^\w+@\w+\.\w+$ | Simple email pattern |
| https?://\S+ | Match HTTP/HTTPS URLs |
| \b\w{3,}\b | Match words with 3+ characters |