RegexLab
Write a pattern, watch it match in real time — with capture groups, live highlighting, and match breakdown.
/
/
Test String
input
Highlighted Result
live
// matches will be highlighted here
Match Breakdown
0 matches
No matches yet — try the example or write your own pattern.
\dany digit\wword character\swhitespace.any character^ $start / end*0 or more+1 or more?0 or 1{n,m}between n and m[abc]any of a, b, c(...)capture group(?:...)non-capturinga|ba or b\bword boundary(?=...)lookahead(?!...)neg. lookahead0
Total matches
0
Capture groups
0
Chars matched
—
Pattern validity