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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Description
Easy expression that checks for valid email addresses.
Matches
[email protected] | [email protected] | username-something@some-server.
Non-Matches
Author Rating: The rating for this expression. Zrekam makerZ
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: Invalid Regular Expression
Name: Al
Date: 4/14/2022 2:15:47 PM
Comment:
I tried this in my Apps Script and got the response: SyntaxError: Invalid regular expression: /^([a-zA-Z0-9_-.]+)@([a-zA-Z0-9_-.]+).([a-zA-Z]{2,5})$/: Range out of order in character class


Title: Onris CBD Gummies Chris Evans Chris Evans CBD Gummies Reviews
Name: Onris CBD Gummies Chris Evans
Date: 11/16/2021 10:25:35 AM
Comment:
Guidelines to burn-through Chris Evans CBD Gummies Conform to every one of the conventions as referenced on the bundle of these chewy candies. = The suggested measurement is 2 chewy candies each day. Onris CBD Gummies Chris Evans Official Web:-http://timesofnews24x7.com/onris-cbd-gummies-chris-evans/ https://www.facebook.com/Onris-CBD-Gummies-Chris-Evans-103521765492574/ https://onris-cbd-gummies-chris-evans-reviews-uk.jimdosite.com/ https://onris-cbd-gummies-chris-evans-reviews-united-kingd.jimdosite.com/ https://miracle-gainz.jimdosite.com/ https://miracle-muscle-gainz-1.jimdosite.com/ https://miracle-gainz-reviews.jimdosite.com/ https://miracle-gainz-gt-5-complex.jimdosite.com/ https://onris-cbd-gummies-chris-evans-2.jimdosite.com/ https://onris-cbd-gummies-chris-evans-reviews.jimdosite.com/


Title: Green Fast Keto Diet Keto Pills Benefits
Name: Green Fast Keto
Date: 11/13/2021 9:37:04 AM
Comment:
Green Fast Diet Keto claims it works without any diet or exercise. While some diet pills claim they work in conjunction or with practice or diet, others claim they work with no change to your exercise or diet. Green Fast Keto, however, claims that it works without you having to eat right, exercise, or exert any effort whatsoever. Green Fast Keto Rush My Order:>https://ipsnews.net/business/2021/11/12/green-fast-keto-reviews-shocking-ingredients-dangerous-side-effects-scam-risk-fake-comliments/ https://maptia.com/greenfast_keto https://ipsnews.net/business/2021/11/13/green-fast-keto-reviews-usa-reviews-scam-diet-bhb-side-effects-legit-diet/ https://ipsnews.net/business/2021/11/13/green-fast-diet-keto-reviews-fake-news-read-ingredients-carefully/


Title: Michael Strahan CBD Gummies EXCLUSIVE OFFER) Plz Click Order Bio
Name: Michael Strahan CBD Gummies
Date: 11/12/2021 10:09:19 AM
Comment:
Michael Strahan CBD Gummies Rush My Order:-http://timesofnews24x7.com/michael-strahan-cbd-gummies/ https://maptia.com/michaelstrahan_cbd_gummies https://botanical-farms-cbd-gummies.jimdosite.com/ https://botanical-farms-cbd-gummies-reviews.jimdosite.com/ https://michael-strahan-cbd-gummies-3.jimdosite.com/ https://michael-strahan-cbd-gummies-reviews.jimdosite.com/ https://endura-natural-male-enhancement-1.jimdosite.com/ https://endura-natural-male-enhancement-pills.jimdosite.com/ https://www.facebook.com/Michael-Strahan-CBD-Gummies-103756332129650 https://www.facebook.com/Botanical-Farms-CBD-Gummies-106119911889882 https://michael-strahan-cbd-gummie-buy.footeo.com/news/2021/11/12/michael-strahan-cbd-gummies-reviews-2021-2022-shocking-facts-or https://michael-strahan-cbd-gummie-buy.footeo.com/calendar/2021/11/11/michael-strahan-cbd-gummies-reviews-scam-or-hoax-cost-or-price-worthy-or-not https://botanical-farms-cbd-gummies.footeo.com/news/2021/11/12/botanical-farms-cbd-gummies-reviews-shark-tank-price-safe-or-sc https://botanical-farms-cbd-gummies.footeo.com/calendar/2021/11/11/botanical-farms-cbd-gummies-reviews-serious-fraud-stop-smoking-verity-or-fake https://endura-natural-reviews.footeo.com/news/2021/11/12/endura-natural-male-enhancement-reviews-recharge-sexual-stamina https://endura-natural-reviews.footeo.com/calendar/2021/11/11/endura-natural-male-enhancement-reviews-2021-pills-does-it-really-work-or-fake-ripoff https://michael-strahan-cbd-gummies-review.jimdosite.com/ https://michaelstrahancbdgummies.jimdofree.com/ https://botanicalfarmscbdgummies.jimdosite.com/ https://botanicalfarmscbdgummiesreview.jimdofree.com/ https://endura-natural-male-enhancement-reviews.jimdosite.com/ https://enduranaturalmaleenhancemen.jimdofree.com


Title: \ and . expects range
Name: Abel
Date: 9/3/2020 10:09:59 AM
Comment:
Hi, The \ and the . don't work together with the [] --> it expects a range and there is no range between \ and . --> ([a-zA-Z0-9._-]+)@([a-zA-Z0-9._-]+).([a-zA-Z]{2,5}))


Title: matches illegal addresses
Name: Moerak
Date: 2/18/2008 10:38:57 AM
Comment:
Matches for example: [email protected]


Title: matches [email protected] and rats@yahoo_.com
Name: rats.hyd.in
Date: 1/9/2008 1:35:21 AM
Comment:
little correction ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9\-]+)\.([a-zA-Z]{2,5})$ now this regex wont match $2 for underscores and immediate dots after @


Title: Tingting bukan sepeda
Name: Tingting bukan permen
Date: 2/20/2005 11:52:33 PM
Comment:
Cupu banget deh ini website.... apaan sih maksudnya gua nggak ngerti nihhhhh


Title: Fails to match valid email address
Name: The Fred and Barney Comedy Team <fred&[email protected]>
Date: 1/26/2005 3:17:01 AM
Comment:
Fails to match the valid email address fred&[email protected]


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