I want to set up a regex to validate an email address but I also want it to validate only two types of email address. For instance I only want to accept @law.gt.edu and @gt.edu. Any thoughts?
assuming the criteria of a valid email address is an identifier which is composed of: letter, dot, underscore, and hyphen. a possible regexp would be:
Last edited by ZeroKilled; 03-06-2009 at 12:29 PM.
Reason: grammar correction
I'm not expert with regular expressions, but you should be able to work soemthing out from this, plus you can check if it works.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread