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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Email pattern regular expression
Expression
^((([a-z0-9])+([\w.-]{1})?)+([^\W_]{1}))+@((([a-z0-9])+([\w-]{1})?)+([^\W_]{1}))+\.[a-z]{2,3}(\.[a-z]{2,4})?$
Description
A simple email checking regex . Works with all regular email addresses . Allows only 'a-z' '-' '_' and '.' to be included withing the user name which must to be started and teminated with 'a-z' and could not have any symbol sequence (like '-_' '._') in it's body . Must have at least 1 and max 2 sub-domains and 1 TLD (2-4 letters long a must). Use tolower() before this regex or just add A-Z or ?i flag within the pattern in order to match both cases . Please see the examples .
Matches
Non-Matches
Author Rating: Not yet rated. arturo
Source ArtY
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

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