- The first Regular Expression Library on the Web!

Please support RegExLib Sponsors


Regular Expression Details

Title Test Find Email - Overly Simple
^\[email protected][a-zA-Z_]+?\.[a-zA-Z]{2,3}$
Simple email expression. Doesn't allow numbers in the domain name and doesn't allow for top level domains that are less than 2 or more than 3 letters (which is fine until they allow more). Doesn't handle multiple "." in the domain ([email protected]).
Author Rating: The rating for this expression. Steven Smith
Your Rating
Bad Good

Enter New 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: Can explain this command ???
Name: Studying
Date: 5/16/2020 5:20:22 PM
If we apply this Regex quickly to Notepad ++, is it okay? I still do not understand how this statement applies. And I tried using it in Notepad ++ with the 6 email addresses above. And I only get 1 unique result "[email protected]" when using it on "Search". Don't laugh or ask why I did this.

Name: e
Date: 2/20/2019 6:55:06 AM

Title: Can u help me with this? Interpret pls
Name: Aisha
Date: 8/24/2017 4:39:54 PM
Ò>Ê»wazeÒ»SearchÒ>#Ê»googlePlacesCompositeÒ»SearchÒ>Ê» googlePlacesÒ»SearchÒ>Ê»foursquareexploreÒ»SearchÚ>áÂ? WazePlacesŠ} PARKING_LOT’} Parking Lotš}Ê»wazeÒ»Searchš}#Ê»googlePlacesCompositeÒ»Searchš}Ê» googlePlacesÒ»Searchš}Ê»foursquareexploreÒ»Searchº}2intent=CATEGORY_REGULAR&auto=googlePlacesCompositeÂ}Ointent=CATEGORY_ALONG_ROUTE&auto=googlePlacesComposite&route_policy=DESTINATIONÊ}1intent=CATEGORY_UPDATE&auto=googlePlacesCompositeŠ~�Ú>ÖŠ} CAR_SERVICES’} Car servicesš}Ê»wazeÒ»Searchš}#Ê»googlePlacesCompositeÒ»Searchš}Ê» googlePlacesÒ»Searchš}Ê»foursquareexploreÒ»Searchº}2intent=CATEGORY_REGULAR&auto=googlePlacesCompositeÂ}Ointent=CATEGORY_ALONG_ROUTE&auto=googlePlacesComposite&route_policy=CURRENT_LOCÊ}1intent=CATEGORY_UPDATE&auto=googlePlacesCompositeŠ~�Ú>ÿŠ} GAS_STATION’} Gas Stationš}Ê»VenuesÒ»Searchˆ¼š}#Ê»googlePlacesCompositeÒ»Searchš}Ê» googlePlacesÒ»Searchš}Ê»foursquareexploreÒ»Searchª}!ʸ gas_dieselÒ¸DieselÚ¸##.##ª}'ʸ gas_91ronÒ¸ 91RON RegularÚ¸##.##ª}'ʸ gas_95ronÒ¸ 95RON PremiumÚ¸##.##ª}$ʸ gas_autolpgÒ¸Auto LPGÚ¸##.##º}#intent=CATEGORY_REGULAR&auto=VenuesÂ}@intent=CATEGORY_ALONG_ROUTE&auto=Venues&route_policy=ALONG_ROUTEÊ}"intent=CATEGORY_UPDATE&auto=Venuesâ}Caltexâ} CleanFuelâ}Easternâ}FilOilâ}Flying Vâ}Jettiâ} Metro Oilâ}Othersâ}PTTâ}Petronâ}Phoenixâ}RePhil Stationâ}SeaOilâ}Shellâ}Totalâ}UniOilâ}Uno FuelŠ~ CAR_SERVICESÚ>øŠ}GARAGE_AUTOMOTIVE_SHOP’}Garage / Automotive Shopš}Ê»wazeÒ»Searchš}#Ê»googlePlacesCompositeÒ»Searchš}Ê» googlePlacesÒ»Searchš}Ê»foursquareexploreÒ»Searchº}2intent=CATEGORY_REGULAR&auto=googlePlacesCompositeÂ}Ointent=CATEGORY_ALONG_ROUTE&auto=googlePlacesComposite&route_policy=ALONG_ROUTEÊ}1intent=CATEGORY_UPDATE&auto=googlePlacesCompositeŠ~ CAR_SERVICESÚ>ÚŠ}CAR_WASH’}Car Washš}Ê»wazeÒ»Searchš}#Ê»googlePlacesCompositeÒ»Searchš}Ê» googlePlacesÒ»Searchš}Ê»foursquareexploreÒ»Search

Title: df
Name: df
Date: 5/19/2017 6:11:19 AM

Title: Excludes many valid email addresses
Name: Tim
Date: 5/1/2015 12:59:34 AM
The domain side of this is completely broken, excludes all the new top level domains (eg .company, .school etc) doesn't not support - in domains etc etc.

Title: Doesn't allow + sign
Name: Anonyme
Date: 10/16/2013 10:42:07 AM
"+" is a valid in email... Has been valid since 1982(!) see RFC 822(

Title: Too simple
Name: menaceMort
Date: 6/30/2011 7:33:29 AM
E.g. does not match: [email protected] [email protected]

Title: and Museum ? .asia, .travel ?
Name: niwan
Date: 4/5/2011 5:09:23 PM
simple but too much leaks.

Title: ?
Name: Darkan
Date: 8/18/2010 10:16:28 AM
Why did you put that question mark there? ("[a-zA-Z _]+?") +:one or many ?:zero or one

Title: ?
Name: Darkan
Date: 8/18/2010 10:15:05 AM
Why did you put that question mark there? ("[a-zA-Z _]+?") +:one or many ?:zero or one

Title: ?
Name: Darkan
Date: 8/18/2010 10:14:46 AM
Why did you put that question mark there? ("[a-zA-Z _]+?") +:one or many ?:zero or one

Title: Overly simple? Not very useable, so what's the point?
Name: JJ
Date: 7/2/2009 5:55:52 PM
There are too many things wrong with this regex to even consider using it. The fact that this regexp doesn't allow numbers, hyphens, or more than one period in the domain name makes it pretty useless for me. The first part of the address is also too restrictive. I'd rather not lose business rejecting sales from customers because this regexp is sure to fail some of them.

Title: Simple
Name: Mitch
Date: 2/27/2009 7:56:51 AM
Not a bad regex overall, the only thing I might change, is to allow the "." in the name, and change the range of the domain from {2,3} to {2,4} since there are some email addresses like [email protected] Good job.

Title: expration
Name: eman
Date: 12/24/2007 6:15:55 AM
i need regular experssion for the password to allow only even password and must be complex

Title: safd
Name: sdf
Date: 12/6/2007 9:43:58 AM

Title: [email protected] ia a email
Name: 武海涛
Date: 10/15/2007 9:10:57 PM
why not match?

Title: friend
Name: siyahgulmersin
Date: 9/4/2007 6:25:46 AM
girls friend

Title: bug
Name: Antonello
Date: 4/22/2007 9:17:11 AM
It doesn't work with names that contain dot. For example: [email protected]

Title: Expression doesn't work
Name: Ian Eiloart
Date: 8/21/2006 11:49:42 AM
This expression is useless. Underscores are NOT permitted in email domains. There's no restriction on the length of the top level domain. For example, .info and .museum are now in use.

Title: code
Name: rai
Date: 7/18/2006 1:56:23 AM
i need the coxde sheet of this output

Copyright © 2001-2020, | ASP.NET Tutorials