Regex Tester & Debugger
Test and debug regular expressions in real-time. See matches highlighted and capture groups extracted.
//g
Enter a pattern and test string to see results...
How to Use
- Enter your regex pattern in the pattern field
- Set the flags you need (global, case-insensitive, etc.)
- Enter your test string
- Matches are highlighted in real-time
Frequently Asked Questions
What regex flavor is used?
We use JavaScript's built-in RegExp, which is similar to PCRE but with some differences.
What do the flags mean?
g = global (find all matches), i = case insensitive, m = multiline (^ and $ match line boundaries), s = dotAll (. matches newlines)