Regex Visualizer
Real-time regular expression testing and debugging.
Regex Input
//
Test String
Match Results
10 matches foundThe quick brown fox jumps over the lazy dog. 12345
Regex Cheatsheet
Common patterns & selectors
Character classes
.Any character except newline\wWord character (a-z, A-Z, 0-9, _)\dDigit (0-9)\sWhitespace (space, tab, newline)[abc]Any of a, b, or c[^abc]Not a, b, or c[a-z]Char from a to zQuantifiers
*0 or more+1 or more?0 or 1{3}Exactly 3{3,}3 or more{3,6}Between 3 and 6Anchors
^Start of string/line$End of string/line\bWord boundaryGroups
(...)Capturing group(?:...)Non-capturing group\1Reference to group #1