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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Email
Expression
^([\w]+@([\w]+\.)+[a-zA-Z]{2,9}(\s*;\s*[\w]+@([\w]+\.)+[a-zA-Z]{2,9})*)$
Description
Validates a semi colon delimited list of email addresses. Appropriate for use with .NET Web.Mail.MailMessage fields (To, BCC, CC)
Matches
Non-Matches
test1site.sub.edu ;@site2.com
Author Rating: Not yet rated. Zachary Frenzel
Source zfrenzel
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: BAD BAD AND VERY BAD
Name: JERE
Date: 1/18/2007 9:44:03 PM
Comment:
PLEASE DO USE THIS BECAUSE THIS IS NOT WORKING PROPERLY


Title: WRONG WRONG WRONG AGAIN
Name: Randal L. Schwartz
Date: 3/25/2006 1:28:07 AM
Comment:
Please, please, can the people who RUN THIS FORUM forbid email validators unless they specifically mention RFC822, etc? THIS IS A BROKEN REGEX. DO NOT USE IT.


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