Regex Tester
Test and debug regular expressions
Regular Expression
//
g Globali Case insensitivem MultilineTest String
Common Patterns
Features
- Real-time pattern matching
- Highlight all matches
- Extract capture groups
- Common pattern library
- Flags support (g, i, m)
Frequently Asked Questions
What regex flavor does this use?
This tool uses JavaScript regular expressions, which are based on Perl regex syntax with some differences.
How do capture groups work?
Parentheses () create capture groups that extract matched substrings. Access them with $1, $2, etc. in replacements.