Developer Tool100% Client-Side

Regex Tester & Explainer

Test and debug regular expressions with instant real-time match highlighting, capturing groups, and presets.

Local Engine • Zero Server Calls
Presets:
Regular Expression Pattern
Flags:
//gi
Test Text2 matches found
Extracted Matches & Groups
Match #1Index: 12
Match #2Index: 39

Frequently Asked Questions

`g` (Global) finds all matches instead of stopping after the first match. `i` (Case Insensitive) matches regardless of upper/lowercase. `m` (Multiline) treats ^ and $ as beginning and end of each line. `s` (Dotall) allows the dot . to match newlines.