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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Email address
Expression
^[0-9a-zA-Z]+([0-9a-zA-Z]*[-._+])*[0-9a-zA-Z]+@[0-9a-zA-Z]+([-.][0-9a-zA-Z]+)*([0-9a-zA-Z]*[.])[a-zA-Z]{2,6}$
Description
Pattern to verify email addresses. Take a look at match / not match. It works very well. E-mail, email, mail, e-mail address, email address, mail address.
Matches
Non-Matches
[email protected] | @example.com | johnsmith@example.
Author Rating: The rating for this expression. Francesco DAguanno
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: Just saying...
Name: Matheus Peres
Date: 5/20/2014 11:32:22 AM
Comment:
By the way, great pattern! ;)


Title: Domain must have more then one char length
Name: Matheus Peres
Date: 5/20/2014 11:30:34 AM
Comment:
Email domain having only one char is valid? Ex: [email protected]


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