Character Classes
.Any character except line breaks (the s flag includes them)\wWord character (a-z, A-Z, 0-9, _)\dDigit (0-9)\sWhitespace: space, tab, line breaks and other Unicode spaces\WNot a word character\DNot a digit\SNot whitespace[abc]Any of a, b, or c[^abc]Not a, b, or c[a-g]Character between a & g