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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Email
Expression
^([0-9a-zA-Z]+(?:[_\.\-]?[0-9a-zA-Z]+)*[@](?:[0-9a-zA-Z]+(?:[_\.\-]?[0-9a-zA-Z]+)*\.[a-zA-Z]{2,}|(?:\d{1,}\.){3}\d{1,}))$
Description
|| Only alphanum characters accepted at the beginning of the user name and domain name || Does not allow 2+ adjacent non-alphanum characters || IP address accepted as domain || 1+ chars accepted as user name or domain
Matches
Non-Matches
[email protected] | abc@a__bc.aa | [email protected] | abc@abc_.aa
Author Rating: The rating for this expression. leoinfo
Source
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/22/2008 10:24:19 PM
Comment:
why are you ignoring the RFCs?


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