Advertise with us

Sponsors

Regular Expression Details

Simple email expression. Doesn't allow numbers in the domain name and doesn't allow for top level domains that are less than 2 or more than 3 letters (which is fine until they allow more). Doesn't handle multiple &quot;.&quot; in the domain (joe@abc.co.uk).

Enter New Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Excludes many valid email addressesName: TimDate: 5/1/2015 12:59:34 AMComment: The domain side of this is completely broken, excludes all the new top level domains (eg .company, .school etc) doesn't not support - in domains etc etc.

Title: Doesn't allow + signName: AnonymeDate: 10/16/2013 10:42:07 AMComment: "+" is a valid in email... Has been valid since 1982(!) see RFC 822(http://www.faqs.org/rfcs/rfc822.html)

Title: ?Name: DarkanDate: 8/18/2010 10:16:28 AMComment: Why did you put that question mark there? ("[a-zA-Z
_]+?")
+:one or many
?:zero or one

Title: ?Name: DarkanDate: 8/18/2010 10:15:05 AMComment: Why did you put that question mark there? ("[a-zA-Z
_]+?")
+:one or many
?:zero or one

Title: ?Name: DarkanDate: 8/18/2010 10:14:46 AMComment: Why did you put that question mark there? ("[a-zA-Z
_]+?")
+:one or many
?:zero or one

Title: Overly simple? Not very useable, so what's the point?Name: JJDate: 7/2/2009 5:55:52 PMComment: There are too many things wrong with this regex to even consider using it. The fact that this regexp doesn't allow numbers, hyphens, or more than one period in the domain name makes it pretty useless for me. The first part of the address is also too restrictive. I'd rather not lose business rejecting sales from customers because this regexp is sure to fail some of them.

Title: SimpleName: MitchDate: 2/27/2009 7:56:51 AMComment: Not a bad regex overall, the only thing I might change, is to allow the "." in the name, and change the range of the domain from {2,3} to {2,4} since there are some email addresses like test.user@mydomain.info.
Good job.

Title: exprationName: emanDate: 12/24/2007 6:15:55 AMComment: i need regular experssion for the password to allow only even password and must be complex

Title: Expression doesn't workName: Ian EiloartDate: 8/21/2006 11:49:42 AMComment: This expression is useless. Underscores are NOT permitted in email domains. There's no restriction on the length of the top level domain. For example, .info and .museum are now in use.