I need to count the number of:

Alpha
Numeric
Other (non alpha-numeric, like symbols)
Upper Alpha
Lower Alpha

in a string.

Can Regular Expression be used of this purpose? It's okay if they're in separate function, but I need to somehow get the counts of each of the above. Any help would be appreciated.