Regex Tester
Test and validate regular expressions with live matching
Common Patterns (Click to use)
Quick Reference
Character Classes:
- • \d - Digit (0-9)
- • \w - Word character
- • \s - Whitespace
- • . - Any character
Quantifiers:
- • * - 0 or more
- • + - 1 or more
- • ? - 0 or 1
- • {n,m} - Between n and m
Anchors:
- • ^ - Start of string
- • $ - End of string
- • \b - Word boundary
Groups:
- • (x) - Capturing group
- • (?:x) - Non-capturing
- • [abc] - Character set
- • [^abc] - Negated set