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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find email validation
Expression
\b[\w]+[\w.-][\w]+@[\w]+[\w.-]\.[\w]{2,4}\b
Description
Validates some common email-adresses.
Matches
Non-Matches
Author Rating: Not yet rated. Thorsten B.
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: WRONG WRONG WRONG
Name: Randal L. Schwartz
Date: 11/9/2006 6:16:55 PM
Comment:
Geez... if you've seen the other ones here, then you also know that YOURS is wrong too. The minimum regex that can validate an ACTUAL email address is at http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html Please go read that, and then know why I'm laughing at yours.


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