- The first Regular Expression Library on the Web!

Please support RegExLib Sponsors


Regular Expression Details

Title Test Find Pattern Title
this will validate most legal email addresses, even allows for some discouraged but perfectly legal characters in local part; allows IP domains with optional []; keeps final tld at a minmum of 2 chars; non capturing groups for efficiency
Matches | | me@[]
Non-Matches | | test_case@here*
Author Rating: Not yet rated. Micah Duke
Your Rating
Bad Good

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: Doesn't handle double quotes
Name: Zeke Hudock
Date: 11/12/2007 2:30:21 PM
Does not handle double quotes around the name (which is valid for an RFC2822 address).

Title: Email validation which only allows certain specific email address
Name: bruce
Date: 11/30/2006 8:01:40 AM
How is it possible to have a regular validation expression where the ending of the email address (after the @) has to be the same. Therefore only allowing people with that type of email address to register yo my site.

Copyright © 2001-2018, | ASP.NET Tutorials