Hi all,
I want to check an NSString for special characters, i.e. anything expect a-z, A-Z and 0-9.
I don't need to check how many special characters are present, or their positions, I just need to know whether a particular string contains any or not. If it does, then I want to be able to display "Error!", or something similar.
e.g. jHfd9982 is OK, asdJh992@ is not.
Also, letters with accents, umlauts etc should not be allowed.
How would I go about this?
Thanks!
Michael