Back to Tools Tools
RegEx Tester & Debugger
Test, debug, and learn regular expressions with real-time matching
Common Patterns
Cheat Sheet
Character Classes
.Any character\dDigit [0-9]\wWord character [a-zA-Z0-9_]\sWhitespace[a-z]Range a-z[^a-z]Not a-z
Anchors
^Start of line$End of line\bWord boundary
Quantifiers
*0 or more+1 or more?0 or 1{n}Exactly n{n,m}n to m
Groups
(...)Capturing group(?:...)Non-capturing group|OR
About Regular Expressions
Regular expressions (regex) are powerful patterns used for matching and manipulating text. They are supported in most programming languages and are essential for text processing.