Regex Visualizer
Test a regular expression against sample input, highlight matches with capture groups, and get a short explanation of the pattern.
Highlighted matches
Capture groups
—
Regex cheat sheet
.any char ·\wword ·\ddigit ·\swhitespace*0+ ·+1+ ·?0 or 1 ·{n,m}range^start ·$end ·[abc]char class ·[^abc]negated(x)group ·(?:x)non-capturing ·x|yor