d any digit D any non-digit w any word character [a-zA-Z0-9_] W any non-word char. [^a-zA-Z0-9_] s any whitespace char. S any non-whitespace char. tab newline carriage return