Regex Tester & Debugger
Test, debug, and preview regular expressions in real-time with capture group extraction, flags, and replacement.
Local-first
Common patterns
Regular expression
//g
Flags
56 chars·6 words·1 line
Drop file or paste textSubstitution
Match results
2 matchesMatch #1 (Index: 14)
support@utils24x7.comGroup $1:support
Group $2:utils24x7.com
Match #2 (Index: 39)
hello@example.orgGroup $1:hello
Group $2:example.org
Accepts:
RegExp PatternTest String
Outputs:
Match Groups & Indices
PCRE & JavaScript RegExp flags
How this tool works
What it accepts, how to use it, and where your input is processed.
Show GuideHide Guide
How this tool works
What it accepts, how to use it, and where your input is processed.
Show GuideHide Guide
Regular expressions (RegEx) match character combinations in strings. Test patterns in real-time and inspect captured groups without leaving your browser.
Standard Flags Reference
- g (global): Don't return after first match
- i (ignoreCase): Case-insensitive matching
- m (multiline): ^ and $ match begin/end of each line
- s (dotAll): . matches any character including newline
- u (unicode): Treat pattern as Unicode code points
Need an extra feature or found an edge case?Send Feedback
Related tools
Open after you finish the primary task.
ShowHide
Related tools
Open after you finish the primary task.
JSON Formatter
DeveloperPrettify, validate, and format JSON data for better readability.
Open tool
QR Code Generator
DeveloperGenerate custom, high-resolution QR codes for URLs, text, and contact info instantly.
Open tool
Text Difference Checker
DeveloperCompare two text snippets to find differences, additions, and deletions instantly.
Open tool