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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^[\n <"']*([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+)
Description
I use this expression to read bounced email addresses returned by the system administrator. The body of the subject should contain the email address somewhere but the location varies. Examples: To: [email protected] || [email protected] || <[email protected]>... Deferred: Connection timed out with mail.blah.org. || [email protected] 0n 25-12-2004 21:09
Matches
Non-Matches
blah@
Author Rating: The rating for this expression. Jorrit Janszen
Source Jorrit (me)
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: Fails to check extension
Name: Gary
Date: 6/9/2009 10:56:09 AM
Comment:
this will match test@domain (it does not test for the existance of .com, .net, etc.)


Title: c#
Name: krithi
Date: 12/28/2008 11:22:30 PM
Comment:
Can u tell me how to extract the data part in a E-mail(not header part)in microsoft outlook office 2003 by using c#?


Title: Fails to match valid email address
Name: The Fred and Barney Comedy Team <fred&[email protected]>
Date: 1/26/2005 3:28:46 AM
Comment:
Fails to match the valid email address fred&[email protected]


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