[:digit:] matches all numbers.
[:alnum:] matches all numbers and letters (alphanumerics).
[:alpha:] matches characters only.
[:lower:] matches lowercase characters.
[:upper:] matches uppercase characters.
[:space:] matches spaces.
[:punct:] matches punctuation.
[:print:] matches printable characters.
[:cntrl:] matches control characters.