New Page

Special Character Classes

Class Description
[[:alpha:]] Matching any alphabetical character, either upper or lower case
[[:alnum:]] Matches any alphanumeric character 0-9, A-Z, or a-z
[[:blank:]] Matches a space or tab
[[:digit:]] Matches a numerical digit from 0 through 9
[[:lower:]] Matches any lowercase alphabetical character a-z
[[:print:]] Matches any printable character
[[:punct:]] Matches any punctuation character
[[:space:]] Matches any white-space character: space, Tab, NL, FF, VT, CR
[[:upper:]] Matches any uppercase alphabetical character A-Z