RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Valid Email
Expression
^[a-z0-9_.-]*@[a-z0-9-]+(.[a-z]{2,4})+$
Description
Validates your average email, it will not allow two periods to be placed adjacent to one another. Do note that there is no perfect expression.
Matches
Non-Matches
Author Rating: Not yet rated. Darran Low
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

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: A sample email?
Name: Darran Low
Date: 9/24/2008 7:31:04 PM
Comment:
Could you provide examples of email addresses which are in use by people you do know so that I can modify it?


Title: WRONG WRONG WRONG
Name: Randal L. Schwartz
Date: 9/23/2008 5:05:57 PM
Comment:
Please read RFC 822 and RFC 2822. This regex does not match *valid* email addresses that *are* in use by people I know.


Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials