I\'m completely incapable of regular expressions, and so I need some help with a problem that I think would best be solved by using regular expressions.
Depending on your definition of "special character", I think "[^a-zA-Z0-9]" would probably do the trick. That would find anything that is not a small letter, a capital letter, or a digit.