← Tools /

Regex Tester

Regex Tester — write a pattern and see matches highlighted live
1
Enter your regex patternType the pattern between the slashes. Add flags after the second slash.
2
Paste your test string belowMatches are highlighted in yellow as you type.
3
See all matches listedEvery match, its position, and any capture groups appear at the bottom.
Use the flag buttons for common options: g = find all matches, i = ignore case, m = multiline, s = dot matches newline.
/ /
Flags:
Test string
Matches
Enter a pattern above to start matching.