Re-run this with the input string "The quick brown fox is named 'Aloysius'." and we discover that 'A', 'y', "'" and '.' are also consonants. (Actually, this is bug-compatible with the OP's original example.) -- Paul