Everyone who posted before me is correct. However, I thought that someone should point out that tr does not understand regular expressions or regex character classes. The similarity to regexes ends at the binding characters (=~ or !~) and the ability to use the same separation characters.