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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Simple Email Pattern Test
Expression
^[a-z]+([\d_-]*[a-z]+)*@[a-z]{2,}(\.)[a-z]{2,}(\.[a-z]{2})?$
Description
Starting to learn, so: 1.(one or more)letters 2.(optional) "-", "_", numbers + (one or more)letters 3."@" 4.(two or more)letters 5."." 6.(two or more)letters 7.(optional) "." + (two)letters
Matches
t@alright.com | test1ok@alright.com.ha | t-e-s-t1_ok@alright.com.ha
Non-Matches
test1@alright.com | test-@alright.com | _test@alright.com | test@alright.com.ha.ha
Author Rating: Not yet rated. Brunna D
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

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