Regex Tester & ReDoS Guard
1,000ms ReDoS Worker Guard
Test, validate, and debug regular expressions with capture groups, live replacement preview, and 1,000ms ReDoS worker protection.
Client-Side Evaluation: Patterns and text never leave browser memory
//g
Flags:
Matches Breakdown
3 matches 0.19ms
Match #1index: 13 (19 chars)
"support@example.com"
$1:"support"$2:"example.com"user:"support"domain:"example.com"
Match #2index: 36 (16 chars)
"admin@domain.org"
$1:"admin"$2:"domain.org"user:"admin"domain:"domain.org"
Match #3index: 98 (16 chars)
"sales@store.net."
$1:"sales"$2:"store.net."user:"sales"domain:"store.net."
Replace Preview
How to test regex expressions safely
- 1Enter your regular expression pattern and select active flags (g, i, m, s).
- 2Provide test target text to evaluate matches in real time.
- 3View capture group breakdowns and replacement preview outputs.
Frequently Asked Questions
What is ReDoS protection?
A background Web Worker terminates any runaway exponential regex after 1000ms to prevent browser freezes.