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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Email (with Tags)
Expression
([A-Z][\w\d\.\-]+)(?:(?:\+)([\w\d\.\-]+))?@([A-Z0-9][\w\.-]*[A-Z0-9]\.[A-Z][A-Z\.]*[A-Z])
Description
I got tired of sites not recognising my Gmail account when I used tags, so I created this regexp which allows them to be included. Outputted variables are #1 - Username, #2 - Tag (or blank), #3 - Domain
Matches
Non-Matches
a@nowhere
Author Rating: Not yet rated. Luke Stevenson
Source http://blog.lucanos.com/
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: 10/7/2007 9:07:57 AM
Comment:
Please see RFC822 and RFC2822, or read my column at http://www.stonehenge.com/merlyn/UnixReview/col60.html


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