Regex Tester
Test and debug regular expressions online
Common Regex Patterns
Quick Reference
Character Classes
.- Any character\d- Digit (0-9)\w- Word character\s- Whitespace[abc]- Character set
Quantifiers
*- 0 or more+- 1 or more?- 0 or 1{n}- Exactly n{n,m}- Between n and m
Anchors
^- Start of string$- End of string\b- Word boundary()- Capture group|- Alternation