📝 Basic Patterns
. (any char), \d (digit), \w (word), \s (whitespace), ^ (start), $ (end)
🔢 Quantifiers
* (0+), + (1+), ? (0-1), {n} (exactly n), {n,} (n+), {n,m} (between n-m)
📦 Groups
(abc) capturing group, (?:abc) non-capturing, (?abc) named group
🚩 Flags
g (global), i (case insensitive), m (multiline), s (dotAll mode)