Forum Moderators: open
[0-9]or by the special digit character
\d
Alphabet characters in a character class
[a-zA-Z]or you can use the case-insensitive format
/[a-z]/i
Space characters can either be the literal space or you can use the special space character
\s
If you are concerned about words, you may want to consider the special word boundary
\bcharacter.