Regex Tester
Test and debug regular expressions in real time. See all matches highlighted, view capture groups, and explore common patterns.
//
Common Patterns
How to Use Regex Tester
- 1
Enter your regular expression pattern between the / slashes at the top.
- 2
Toggle flags: g (find all matches), i (ignore case), m (multiline), s (dot matches newline).
- 3
Paste or type your test string in the text area — matches highlight instantly.
- 4
The match list shows every match with its position and any capture groups.
- 5
Click a common pattern button to load a pre-built expression.