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: 165 regular expressions found.

Change page:   |    Displaying page 6 of 9 pages; Items 101 to 120
Title Test Details Email
Expression
[a-zA-Z0-9_\\-]+@([a-zA-Z0-9_\\-]+\\.)+(com)
Description
Checks Email
Matches
someone@someone.com
Non-Matches
someone@someone.co.jp
Author Rating: The rating for this expression. kp
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
myemail@mail.com | my.email@mail.co.in | 1stmyemail@gmail.com | my.email.address@mail.com | my.email@in.mycompany.com | my.email@city.mycompany.com
Non-Matches
my.b.email@gmail.com
Author Rating: Not yet rated. Gauri Karlekar
Title Test Details Anchor Href Link URL
Expression
href=(?<QUOTE>[\""\'])?(?<URL>(?<SCHEME>(file|ftp|http|https|news|nntp):\/\/|mailto\:)?(?<EMAIL>[\w-]+@)?(?<HOST>(?(SCHEME)[\w]+(\.[\w-]+)*?))(?<PATH>\/?\w*[\w-%\:\.\+\/]+)?(?<QUERY>\?[\w-%\+:\.]*(=[\w-%\+:\.]*)?(&[\w-%\+\:\.]*(=[\w-%\+:\.]*)?)*)?(?<ANCHOR>\#[\w-%\+:\.]+)?)(?<-QUOTE>[\""\'])?(?#VALIDATE QUOTES/URL)(?(PATH)|(?(SCHEME)|(?!)))(?(QUOTE)(?!))
Description
Matches href links / URLS within html and separates out the Scheme, Email, Domain, Path, Query, Anchor and the full URL. Based on Andrew Lee's version with some further tweaking.
Matches
href="mailto:text@example.com" | href="www.example.com" | href="https://localhost/bla-h3/?x%20#test1" | href='eek' | href="ftp://127.0.0.1/" | href="http://example.com/Search.aspx?k=href&c=-1&m=-1&ps=%20" | href=example.com | href="http://www.example.com/search?q=pi+day&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#sx"
Non-Matches
href="" | href= | href="javascript: testMe();" | href="bad example"
Author Rating: Not yet rated. Eric Bouwsema
Title Test Details Valid Email
Expression
^[a-z0-9_.-]*@[a-z0-9-]+(.[a-z]{2,4})+$
Description
Validates your average email, it will not allow two periods to be placed adjacent to one another. Do note that there is no perfect expression.
Matches
test@abc.com.nl | test.new@mail-ex.com | test@at.ta
Non-Matches
test@abc..com | test@a.a | test^@hello.com
Author Rating: Not yet rated. Darran Low
Title Test Details Email
Expression
^([0-9a-zA-Z]+(?:[_\.\-]?[0-9a-zA-Z]+)*[@](?:[0-9a-zA-Z]+(?:[_\.\-]?[0-9a-zA-Z]+)*\.[a-zA-Z]{2,}|(?:\d{1,}\.){3}\d{1,}))$
Description
|| Only alphanum characters accepted at the beginning of the user name and domain name || Does not allow 2+ adjacent non-alphanum characters || IP address accepted as domain || 1+ chars accepted as user name or domain
Matches
a@a.aa | a_bc@11.0.0.5 | abc@a_bc.a_bc.aa | 1abc@1abc.aa
Non-Matches
a__bc@abc.aa | abc@a__bc.aa | abc_@abc.aa | abc@abc_.aa
Author Rating: The rating for this expression. leoinfo
Title Test Details Block common public domains & validate email
Expression
\w+([-+.]\w+)*@(?!(hotmail|gmail|yahoo|msn|excite|lycos|aol|live)\.com$)\w+([-.]\w+)*\.\w+([-.]\w+)*
Description
Should you need to validate that an email address is correctly formmatted and need to block hotmail and gmail, this expression will do it for you. Thanks to Sergei Z from regexadvice.com
Matches
joe@somewhere.com | jo-elaine@myfunplace.com
Non-Matches
joe@gmail.com | joe@a
Author Rating: Not yet rated. Dan Brewerton
Title Test Details Email
Expression
^[a-z0-9,!#\$%&'\*\+/=\?\^_`\{\|}~-]+(\.[a-z0-9,!#\$%&'\*\+/=\?\^_`\{\|}~-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.([a-z]{2,})$
Description
Validates rfc2822 for the mostpart
Matches
fred&barney@stonehenge.com
Non-Matches
fred&barney@@stonehenge.com
Author Rating: Not yet rated. Donald Burr
Title Test Details Email Address Format
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,4}|([a-zA-Z]\.com))$
Description
Validates format of email addresses including q.com but not q.net
Matches
a.b-c_d@x.y-z.zz
Non-Matches
xx@mm.c | x@n.cc | a..b@x-y.zz
Author Rating: Not yet rated. Fred Scott Thompson
Title Test Details Typical Email Expression
Expression
(".+"\s)?<?[a-z\._0-9]+[^\._]@([a-z0-9]+\.)+[a-z0-9]{2,6}>?;?
Description
Simple email matching expression, that allows for a friendly name string similar to what you see in outlook 2007. Example: "Test User" test@user.com
Matches
"Test User" test@user.com | test.user@test.com | test_user@test.com | test@test.info | test@test.user.com | 123@123.com;
Non-Matches
test@test@test.com | test.@user.com | test_@user.com | "Test User"test@test.com | te$t@test.com
Author Rating: Not yet rated. Mitchell Lee
Title Test Details Email address (RFC 2821 mailbox)
Expression
^\s*(([/-9!#-'*+=?A-~-]+(?:\.[/-9!#-'*+=?A-~-]+)*|"(?:[^"\r\n\\]|\\.)*")@([A-Za-z][0-9A-Za-z-]*[0-9A-Za-z]?(?:\.[A-Za-z][0-9A-Za-z-]*[0-9A-Za-z]?)*|\[(?:[^\[\]\r\n\\]|\\.)*\]))\s*$
Description
This validates against the RFC 2821 (SMTP) syntax unit 'Mailbox' [equiv. to addr-spec - not address - element of RFC 2822] (the one a certain critic keeps linking to validates the RFC822 'address' element which includes support for stuff like "Group:User <address>,User <address>;", obsolete smtp routing syntax like <@host1,@host2:user@host>, etc) There are some differences. This version does not allow line breaks for continuation lines. It also applies the stricter standards of RFC 2821 (SMTP) to the domain portion of the address. Username may be a quoted string (but not "multiple"."quoted"."strings" - RFC 2822's grammar appears to allow this but the SMTP grammar does not). Also only one piece enclosed in [Brackets] (for IP email addresses) is allowed in the domain; that is you can't have user@[1.2.3.4].[5.6.7.8] as implied by the RFC2822 but not SMTP. Whitespace is only allowed in quoted strings. It is silently ignored at the beginning or end. Capture group 1 is the email address, group 2 is the username, group 3 is the domain.
Matches
user@example.com|user+sub@example.com|"user name"@example.com|user@[192.0.2.4]
Non-Matches
no_at_sign|invalid...adjacent_dots@example.com|no quote@example.com|user@192.0.2.4
Author Rating: Not yet rated. Jordan
Title Test Details Email Identification - Alternate method
Expression
\b([A-Za-z0-9]+)(-|_|\.)?(\w+)?@\w+\.(\w+)?(\.)?(\w+)?(\.)?(\w+)?\b
Description
This RE will be useful in identifying emails.
Matches
fgisgfuisd@usdfhsd.com uipadhfusdhfuihsduihf@dfduif.com.in 12sdbfisdbfuib-dbfidbfi@bfiusdbh.com.in.us jfljsdlfjlsdj@jhdfjhsd.com fhdhofhdsohoahfohsdo-fsdjfj@ioahdf.com 2ndfdifn_uidhfuisdh@djfiojd.com
Non-Matches
non emails.
Author Rating: Not yet rated. Mukundhan (India)
Title Test Details Email Extractor
Expression
[_\w-]+(?:\.[_\w-]+)*@(?:[\w-]+\.)+(?:[\w-]{2,4})(?![\w]+)
Description
matches the most of the email addresses.
Matches
a.a@w3.org | b@sohu.com | s-s@33.cc
Non-Matches
a@b | a@b.commmm | a.@b.cc | a@.cc | dd@g.netfooooooooo...ooo
Author Rating: Not yet rated. Wangz
Title Test Details Email
Expression
^[-\w'+*$^&%=~!?{}#|/`]{1}([-\w'+*$^&%=~!?{}#|`.]?[-\w'+*$^&%=~!?{}#|`]{1}){0,31}[-\w'+*$^&%=~!?{}#|`]?@(([a-zA-Z0-9]{1}([-a-zA-Z0-9]?[a-zA-Z0-9]{1}){0,31})\.{1})+([a-zA-Z]{2}|[a-zA-Z]{3}|[a-zA-Z]{4}|[a-zA-Z]{6}){1}$
Description
For Email Inputs checks to RFC 5322 Standards (no IP address though Didn't Want them) localhost: cannot start or end with . cannot have .. in it Domain: cannot start with - or . Known problems: TLDDoesntExist@domain.moc domains can be longer then 255. But each Domain can only be 63 then a . is required
Matches
3tt3rsAndNumb3rs@domain.com has-dash@domain.com hasApostrophe.o'leary@domain.org uncommonTLD@domain.museum uncommonTLD@domain.travel uncommonTLD@domain.mobi countryCodeTLD@domain.uk countryCodeTLD@domain.rw lettersInDomain@911.com underscore_inLocal@domain.net subdomain@sub.domain.com local@dash-inDomain.com dot.inLocal@foo.com a@singleLetterLocal.org singleLetterDomain@x.org &*=?^+{}'~@CharsInLocal.net
Non-Matches
missingDomain@.com @missingLocal.org missingatSign.net missingDot@com two@@signs.com .localStartsWithDot@domain.com localEndsWithDot.@domain.com two..consecutiveDots@domain.com domainStartsWithDash@-domain.com domainEndsWithDash@domain-.com
Author Rating: The rating for this expression. Philip
Title Test Details Email - RFC 2821, 2822 Compliant
Expression
^((([!#$%&'*+\-/=?^_`{|}~\w])|([!#$%&'*+\-/=?^_`{|}~\w][!#$%&'*+\-/=?^_`{|}~\.\w]{0,}[!#$%&'*+\-/=?^_`{|}~\w]))[@]\w+([-.]\w+)*\.\w+([-.]\w+)*)$
Description
According to RFC 2821 (<see cref="http://tools.ietf.org/html/2821"/>) and RFC 2822 (<see cref="http://tools.ietf.org/html/2822"/>), the local-part of an email addresses may use any of these ASCII characters: 1. Uppercase and lowercare letters 2. The digits 0 through 9 3. The characters, !#$%&'*+-/=?^_`{|}~ 4. The character "." provided that it is not the first or last character in the local-part.
Matches
a&d@somedomain.com, a*d@somedomain.com,a/d@somedomain.com,
Non-Matches
.abc@somedomain.com, abc.@somedomain.com, a>b@somedomain.com
Author Rating: The rating for this expression. Dave Black
Title Test Details Email validation
Expression
\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*
Description
To validate an Email ID
Matches
xyz@gmail.com
Non-Matches
xyz@gmail..com
Author Rating: Not yet rated. Chandan Kumar
Title Test Details Email validation
Expression
^([\w\._-]){3,}\@([\w\-_.]){3,}\.(\w){2,4}$
Description
Validates email address
Matches
marko@gmail.com
Non-Matches
a@a.c
Author Rating: Not yet rated. Marko Maruna
Title Test Details Email
Expression
^([0-9a-zA-Z]+[-._+&amp;])*[0-9a-zA-Z_-]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}$
Description
Meets almost all email address, whacky ones included
Matches
1h--h_@chandlers-bmw.co.uk, _h_@msn.com
Non-Matches
_h_@msn_noaddress.com
Author Rating: Not yet rated. Fawad Raza
Title Test Details Email address
Expression
[A-Za-z0-9!#$%&'*+\-/=?^_`{|}~]+(?:\.[A-Za-z0-9!#$%&'*+\-/=?^_`{|}~]+)*@[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*(?:\.[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)*
Description
Email address validator with embededded multi-part host name validator, RFC-compliant but does not validate length of components or overall length.
Matches
mike@localhost sue@example.com
Non-Matches
mike @localhost sue.@example.com
Author Rating: Not yet rated. Kevin Dean
Title Test Details Indian Phone number
Expression
/((\d){2})?(\s|-)?((\d){2,4})?(\s|-){1}((\d){8})$/
Description
This expression is not working for this +91-020-41056767. If i enter +91555-020555-41056767 still its working. Please help me. Send me the correct expression on my email id cgadgilwar@gmail.com
Matches
+91-020-41056767
Non-Matches
+9144-02440-41056767
Author Rating: Not yet rated. chetan
Title Test Details Email
Expression
(?<username>#?[+_a-zA-Z0-9+-]+(\.[+_a-zA-Z0-9+-]+)*)@(?<domain>[a-zA-Z0-9]+(-(?!-)|[a-zA-Z0-9\.])*?[a-zA-Z0-9]+\.([0-9]{1,3}|[a-zA-Z]{2,3}|(aero|arpa|asia|coop|info|jobs|mobi|museum|name|travel)))
Description
Matches valid emails. Suggestions welcome.
Matches
my.address@domain.com | gmail+junkfilter@gmail.com | abc123@dont_email_me.com
Non-Matches
myINV@LIDemail@poof.com | badDomain@a.com
Author Rating: Not yet rated. Brad Williams
Change page:   |    Displaying page 6 of 9 pages; Items 101 to 120

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