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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Allow quotes in email address
Expression
^\w+(([-+']|[-+.]|\w+))*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
Description
Allow quotes in email address. Its Allow to enter quotes after first char and before @.
Matches
Any letter, number or underscore,dot,quotes
Non-Matches
Any char except letter, number,dot,quotes
Author Rating: The rating for this expression. Dilip Choudhary
Source ^\w+(([-+']|[-+.]|\w+))*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
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: DO NOT MATCH EMAIL WITH A SHORT REGEX
Name: Randal L. Schwartz
Date: 6/4/2006 12:31:53 PM
Comment:
I don't know how many times I have to say this here. THIS IS NOT A VALID EMAIL CHECKER. The shortest "valid email checker" is about 1000-chars long. You will reject VALID EMAIL ADDRESSES with this regex. DO NOT USE THIS.


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