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

Please support RegExLib Sponsors

Sponsors

Advanced Search

Keywords

Category

Minimum Rating

Results per Page

Search Results: 223 regular expressions found.

Change page:   |    Displaying page 1 of 12 pages; Items 1 to 20
Title Test Details Single Email Match - current June 2010
Expression
^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+(?:[a-zA-Z]{2}|aero|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel)$
Description
Matches email addresses. Based on expression at regular-expressions.info/email.html modified to include all top-level domains (TLD)listed on wikipedia as of June 2010. Needs to be updated as new TLDs are added. Known Issues: * IP Addresses will not validate * Double "at" symbols, e.g. email@[email protected] slip by this regex. Would welcome improvements by a regex ninja.
Matches
Non-Matches
Author Rating: The rating for this expression. Brent Thomas
Title Test Details Pattern Title
Expression
^[\w\.=-]+@[\w\.-]+\.[\w]{2,3}$
Description
Much simpler email expression. This one forces a length of 2 or 3, which fits current specs, but you may need to alter the end as this one allows all numerals on the .COM section.
Matches
Non-Matches
word | word@ | @word
Author Rating: The rating for this expression. Gregory Beamer
Title Test Details A Liberal, Accurate Pattern for Matching URLs
Expression
\b(([\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))
Description
Identifies the URLs in an arbitrary string of text, where by “arbitrary” let’s agree we mean something unstructured such as an email message or a tweet. Source: daringfireball.net
Matches
http://foo.com/blah_blah | http://foo.com/blah_blah/ | (Something like http://foo.com/blah_blah) | http://foo.com/blah_blah_(wikipedia) | (Something like http://foo.com/blah_blah_(wikipedia)) | http://foo.com/blah_blah. | http://foo.com/blah_blah/. | <http://foo.com/blah_blah> | <http://foo.com/blah_blah/> | http://foo.com/blah_blah, | http://www.example.com/wpstyle/?p=364. | http://✪df.ws/123 | rdar://1234 | rdar:/1234 | http://userid:[email protected]:8080 | http://[email protected] | http://[email protected]:8080 | http://userid:[email protected]
Non-Matches
no_ws.example.com | no_proto_or_ws.com | /relative_resource.php
Author Rating: Not yet rated. Scott C
Title Test Details Pattern Title
Expression
^[\n &lt;&quot;']*([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+)
Description
I use this expression to read bounced email addresses returned by the system administrator. The body of the subject should contain the email address somewhere but the location varies. Examples: To: [email protected] || [email protected] || &lt;[email protected]&gt;... Deferred: Connection timed out with mail.blah.org. || [email protected] 0n 25-12-2004 21:09
Matches
Non-Matches
blah@
Author Rating: The rating for this expression. Jorrit Janszen
Title Test Details Pattern Title
Expression
^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@(([0-9a-zA-Z])+([-\w]*[0-9a-zA-Z])*\.)+[a-zA-Z]{2,9})$
Description
Email validation based on Rob Eberhardt's (Thanks, Rob!) email expression, but allows single letter subdomains...
Matches
Non-Matches
Author Rating: The rating for this expression. Shaune Stark
Title Test Details Outlook account recovery help
Expression
utlook account recovery australia
Description
Hello, my name is Zara Aria live in Australia. I did graduation from Australia University in computer science and working with Outlook Customer Support Company; if any issue with your email account calls Outlook Support Phone number.
Matches
utlook account recovery australia
Non-Matches
https://outlook.supportnumberaustralia.com.au/
Author Rating: The rating for this expression. zaraaria
Title Test Details 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
Non-Matches
Author Rating: Not yet rated. Brunna D
Title Test Details Express Loan Offer
Expression
financial
Description
Express Loan Offer Do you need financial aid, are you seriously in need of an urgent loan, to start up your own business, you're in debt and no funds for payment ? This is your chance to reach your desire goals because we give out personal loan, business loans, and all kinds of loan at 2% interest rate.... information contact us via Email: ([email protected]) whatspp Number +447440711562 Borrower's INFORMATION: Full Name: _______ Loan amount needed: _____ Loan Duration: _____ Occupation_____ Purpose: _____ Phone: ____ Country: ____
Matches
loan
Non-Matches
spam
Author Rating: The rating for this expression. manoj yedi
Title Test Details Email Validateion RegEx
Expression
^([A-Za-z]+)([0-9]+)?([A-Za-z0-9\.\_]+)?\@(([A-Za-z]+)([0-9]+)?([A-Za-z0-9\.\_]+)?)((\.)([a-zA-Z]+))$
Description
Need Multiline option to validate email string for better result
Matches
Non-Matches
Author Rating: The rating for this expression. Ankur Ranpariya
Title Test Details Email regexp for ereg()
Expression
^[a-z0-9_]{1}[a-z0-9\-_]*(\.[a-z0-9\-_]+)*@[a-z0-9]{1}[a-z0-9\-_]*(\.[a-z0-9\-_]+)*\.[a-z]{2,4}$
Description
Checks whether email in the string that must be an E-mail address
Matches
Non-Matches
a-_tech.kr@_mte.kab
Author Rating: Not yet rated. Axel Foly
Title Test Details Pattern Title
Expression
^([a-zA-Z.\s']{1,50})$
Description
This is just a regular special char expression used to get the hax0rs off your back (hopefully). You can use this for regular open name checking if you wanted. It only fails on the insert of anything other than a-z, A-Z, and ' or whitespace. I'm open to suggestions, but try to email them to me as well as posting them to help others. Thanks.
Matches
Jon M. Doe | Tim L. O'Doul | ...'''''
Non-Matches
Doe, Jon | &lt;&gt;,;:&quot;?/ | %\$#@!
Author Rating: The rating for this expression. John Smart
Title Test Details email
Expression
\b[A-z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b
Description
Regex to grab emil address's
Matches
facebook
Non-Matches
netlog
Author Rating: Not yet rated. Iphone511
Title Test Details Pattern Title
Expression
^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*\s+&lt;(\w[-._\w]*\w@\w[-._\w]*\w\.\w{2,3})&gt;$|^(\w[-._\w]*\w@\w[-._\w]*\w\.\w{2,3})$
Description
This Works good until we want a multiple email address validator, I am working on it to make it work with the multiple email address, If anyone can work on this part as to validate a multiple email address then that will produce a very good expression, i think the best of this kind. AIM - to Validate Mohit &lt;[email protected]&gt;; Rohit &lt;[email protected]&gt;; .........(any number of times)
Matches
Non-Matches
Author Rating: The rating for this expression. Mohit Yadav
Title Test Details YAER - Yet Another Email Regex
Expression
^[^\s]+@[^\.][^\s]{1,}\.[A-Za-z]{2,10}$
Description
Simple email regex following some liberal email address validation. Requires non-whitespace name (but allows any other character), an @ symbol, then a non-period character, then some non-whitespace text (but allows just about everything else), and finishes with a tld that is 2 to 10 chars long. Two-characters is the universal minimum, 10 seemed like a good upper limit for now and allows room to grow. You can use this for a quick sanity check. Yes, the user can still enter invalid email addys, but then they won't get their emails, will they?
Matches
Non-Matches
Author Rating: Not yet rated. Major Banzai
Title Test Details Email
Expression
^[\w-]+(\.[\w-]+)*@([a-z0-9-]+(\.[a-z0-9-]+)*?\.[a-z]{2,6}|(\d{1,3}\.){3}\d{1,3})(:\d{4})?$
Description
Check email format
Matches
Non-Matches
Author Rating: Not yet rated. Key Sutim
Title Test Details Email Validations
Expression
^([a-zA-Z0-9][a-zA-Z0-9_]*(\.{0,1})?[a-zA-Z0-9\-_]+)*(\.{0,1})@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|([a-zA-Z0-9\-]+(\.([a-zA-Z]{2,10}))(\.([a-zA-Z]{2,10}))?(\.([a-zA-Z]{2,10}))?))[\s]*$
Description
Validates almost all email addresses. Tested and running fine on a major web portal
Matches
Non-Matches
Author Rating: Not yet rated. Gauri Karlekar
Title Test Details Email (with Tags)
Expression
([A-Z][\w\d\.\-]+)(?:(?:\+)([\w\d\.\-]+))?@([A-Z0-9][\w\.-]*[A-Z0-9]\.[A-Z][A-Z\.]*[A-Z])
Description
I got tired of sites not recognising my Gmail account when I used tags, so I created this regexp which allows them to be included. Outputted variables are #1 - Username, #2 - Tag (or blank), #3 - Domain
Matches
Non-Matches
a@nowhere
Author Rating: Not yet rated. Luke Stevenson
Title Test Details Email - Overly Simple
Expression
^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$
Description
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 &quot;.&quot; in the domain ([email protected]).
Matches
Non-Matches
Author Rating: The rating for this expression. Steven Smith
Title Test Details Pattern Title
Expression
^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$
Description
This expression matches email addresses, and checks that they are of the proper form. It checks to ensure the top level domain is between 2 and 4 characters long, but does not check the specific domain against a list (especially since there are so many of them now).
Matches
Non-Matches
a@b | notanemail | joe@@.
Author Rating: The rating for this expression. Steven Smith
Title Test Details Pattern Title
Expression
[\w-]+@([\w-]+\.)+[\w-]+
Description
Yet another simple email validator expression.
Matches
Non-Matches
asdf | 1234
Author Rating: The rating for this expression. Steven Smith
Change page:   |    Displaying page 1 of 12 pages; Items 1 to 20

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