Regex Tester
Test regular expressions with live match highlighting, capture groups, and flag support.
/
/
No matches
Enter a pattern and test string above
How to Use
1. Enter your pattern — Type a regular expression into the pattern field. No delimiters needed; just the raw pattern.
2. Set flags — Toggle global (g), case-insensitive (i), multiline (m), or dotAll (s) flags using the checkboxes.
3. Add test text — Paste or type your test string. Matches are highlighted in real time as you type.
4. Review matches — The match details section shows each match with its full text, capture groups, and character index.