Back to free tools
🔎
Utility
Regex Tester
Test JavaScript regular expressions against sample text.
Result
2 matches
Contact me at hello@example.com or SUPPORT@site.io for details.
#1 @14: hello@example.com
Groups: $1=hello, $2=example, $3=com
#2 @35: SUPPORT@site.io
Groups: $1=SUPPORT, $2=site, $3=io
About this tool
Enter a regex pattern, flags, and test text. See highlighted matches and capture groups in real time.
What it does
- •Live highlighting
- •Capture groups
- •All standard flags
- •Instant errors
Use cases
- ★Form validation
- ★Log parsing
- ★Search & replace
FAQ
Which regex flavor?
JavaScript RegExp — closest to ECMAScript spec. Some PCRE features (lookbehind quirks) may differ.
How many matches shown?
Up to 1,000 with the /g flag to avoid infinite loops.
