Hi, everyone 🙂
I've done a search, but could not find anything specific to what I need. Everything seems to deal with validating a form for Empties and Email Addresses. Ive also read the pdf file on how to use ereg, and it has helped but it did not solve my problem.
Im able to SORTA validate an email address pretty easy using the expresion "[@ ]+@[@ ]+.[@ .]+$" But this allows users to put in a (") or any other special characters (beside the @ sign) in the address. This is where im having a problem.
Im trying to validate a First Name input by ensuring that it does not contain any numbers or special characters. Im able to weed out the numbers part, but unable to do the same for the special characters. I thought I could just list them out, escaping the appropriate characters, but the characters like " "" and ";" gives me parse errors. Is there a metacharacter or something that defines all special characters?
Any help would be appreciated.
Thank You,
Jon