- The first Regular Expression Library on the Web!

Please support RegExLib Sponsors


Regular Expression Details

Title Test Find Pattern Title
This regular expression matches a series of names and/or email addresses much like you would do in Outlook's To field (e.g. To:;miles, er;roemer;lagrander, nitra). The first entry must be a name (in the form of last name followed by a comma and first name) or an email address. The following entries are a semicolon followed by one name or email address. The comma and first name are optional components of the name part.
rohrbach | rohrbach, wi | rohrbach, wi;roemer;;lagrander, ni
rohrbach;miles; | rohrbach, wa; |;miles;;
Author Rating: Not yet rated. William Rohrbach
Source The email address validation portion is based on the email regular expression submitted by bilou mcgyver.
Your Rating
Bad Good

Enter New 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: Excellent
Name: C Smith
Date: 6/30/2006 3:46:24 PM
Serves my needs well :-)

Title: Excellent!
Name: Ben Roberts
Date: 3/8/2005 2:23:15 PM
Could anyone out there modify this so that it would only allow valid non-Outlook email structures separated by semi-colons? Apparently, I'm not smart enough!!!! Thanks for the pattern William!

Copyright © 2001-2018, | ASP.NET Tutorials