Test String
0 matches
Matches
Enter a pattern and test string to see matches.
Live matching, capture group highlighting, replace mode, pattern explainer, 15 common patterns, and a full cheat sheet. Runs entirely in your browser.
g global — find all
i case-insensitive
m multilines dot-all
u unicode
y sticky
$1 $2 capture groups
$& whole match
$$ literal $