Regex Tester
Test and debug regular expressions with real-time match highlighting and capture group breakdown.
Processed locally in your browser.
Presets:
//gu
Test String2 Matches Found
Match Breakdown
#1prajwal@acharyaprajwal.com.npat index 32 (length 29)
#2support@acharyaprajwal.com.npat index 65 (length 29)
How It Works
- 1Enter your regular expression pattern in the pattern bar.
- 2Select flags such as Global (g), Case-insensitive (i), and Multiline (m).
- 3Type or paste test strings into the text input area.
- 4Matches and indexed capture groups will be highlighted immediately.
Example Preview
Email Pattern
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}Frequently Asked Questions
Which regex dialect does this use?
It uses standard ECMAScript (JavaScript) regular expressions with full support for modern regex features.