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

Change page:   |    Displaying page 1 of 207 pages; Items 1 to 20
Title Test Details Pattern Title
Expression
([\d\w-.]+?\.(a[cdefgilmnoqrstuwz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvxyz]|d[ejkmnoz]|e[ceghrst]|f[ijkmnor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eouw]|s[abcdeghijklmnortuvyz]|t[cdfghjkmnoprtvwz]|u[augkmsyz]|v[aceginu]|w[fs]|y[etu]|z[amw]|aero|arpa|biz|com|coop|edu|info|int|gov|mil|museum|name|net|org|pro)(\b|\W(?<!&|=)(?!\.\s|\.{3}).*?))(\s|$)
Description
This will find URLs in plain text. With or without protocol. It matches against all toplevel domains to find the URL in the text.
Matches
http://www.website.com/index.html | www.website.com | website.com
Non-Matches
Works in all my tests. Does not capture protocol.
Author Rating: The rating for this expression. James Johnston
Title Test Details Pattern Title
Expression
&lt;a\s*href=(.*?)[\s|&gt;]
Description
Retrieves all anchor links in a html document, useful for spidering. You will need to do a replace of &quot; and ' after the regular expression, as the expression gets all links. As far as I know there is no way, even with \1 groupings, of getting a condition on whether the link contains a &quot;,' or nothing at all (&quot; and ' is easy enough, but what happens if the link starts with &quot;, and has a javascript function call with a string in it). If there is, it's probably quicker to do it like this and do a string replace anyway.
Matches
&lt;a href=&quot;http://www.blah.com&quot;&gt; | &lt;a href='../blah.html' target=&quot;_top&quot;&a
Non-Matches
&lt;a href = http://www.idiothtmlprogrammers.com &gt;
Author Rating: The rating for this expression. chris s
Title Test Details ISBN
Expression
/((978[\--– ])?[0-9][0-9\--– ]{10}[\--– ][0-9xX])|((978)?[0-9]{9}[0-9Xx])/
Description
match isbn 10 and 13
Matches
978-1-4302-1998-9 | 1–931836–59–0 | 1593270127 | 0 321 15420 7 | 978-0-07-162612-5
Non-Matches
978-0-07-1626125 | 15932701X7 | 970-0-596-52678-8
Author Rating: The rating for this expression. Santiago Neira
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 International & Domestic Phone Numbers with Ext
Expression
^([\+][0-9]{1,3}([ \.\-])?)?([\(]{1}[0-9]{3}[\)])?([0-9A-Z \.\-]{1,32})((x|ext|extension)?[0-9]{1,4}?)$
Description
Somewhat conservative expression for evaluating phone numbers. Based off ideas found at http://stackoverflow.com/questions/123559/a-comprehensive-regex-for-phone-number-validation this allows country codes, with or without the + symbol, area codes surrounded by parenthesis (or not) and numbers delimited by spaces, periods or dashes. You'll want to independently test for string length based on your needs.
Matches
(123)456-7890 | (123)456-7890 x123 | +1 (123)456-7890 | 12 3456 789 0 x1234 | (123)456-7890x123 |(123)456-7890ext123 | (123)456-7890 extension123 | 123.456.7890 | 1234567890 | 1234567 | 12 34 56 78 90 | 12 3 4567 890123 x4567 | +12 3456 7890 | +12 34 56 7890 | +12 3456 7890 | +12 34567890
Non-Matches
(123)456-7890 x 123 | 123.45.6.78+90
Author Rating: Not yet rated. Brent Thomas
Title Test Details https://aneurevitalizingcream.com/loriax-face-cream-at/
Expression
gdrbfg
Description
Loriax Face Cream I mean really, the last thing you want to get is a worthless deep wrinkle eye cream, right? The most effective natural supplement can be green tea or aspirin. Collagen molecules are much too big to penetrate into the skin. Are your wrinkles concentrated in any specific location on your face? https://aneurevitalizingcream.com/loriax-face-cream-at/
Matches
dfgdg
Non-Matches
tdg
Author Rating: Not yet rated. gew wwer
Title Test Details Date Match
Expression
^(d{0}|(31(?!(FEB|APR|JUN|SEP|NOV)))|((30|29)(?!FEB))|(29(?=FEB(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)))))|(29(?=FEB(((0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)))))|(0?[1-9])|1\d|2[0-8])(JAN|FEB|MAR|MAY|APR|JUL|JUN|AUG|OCT|SEP|NOV|DEC)((1[6-9]|[2-9]\d)\d{2}|\d{2}|d{0})$
Description
This pattern mathces the following date formats: DDMMMYY,DDMMMYYYY,DDMMMYY. The Pattern matches on leap year dates as well
Matches
12MAR02 | 12MAR2008 | 29FEB2008 | 12MAR
Non-Matches
29FEB2007 | 32MAR | 00APR
Author Rating: Not yet rated. Ole
Title Test Details Enable a discussion with experts using Gmail Hacked platform
Expression
Gmail Hacked
Description
If you get stuck somewhere due to technical obstacles, just obtain Gmail Hacked service to make a fruitful discussion with the ingenious team of attentive troubleshooting experts. Here, they will remotely access your computer system and resolve the whole host of problems completely from the root. https://www.technicalsupportphonenumber.com/gmail-hacked-account/
Matches
. https://www.technicalsupportphonenumber.com/gmail-hacked-account/
Non-Matches
https://www.technicalsupportphonenumber.com/
Author Rating: Not yet rated. shawn mendis
Title Test Details Scientific Notation
Expression
^(-?[1-9](\.\d+)?)((\s?[X*]\s?10[E^]([+-]?\d+))|(E([+-]?\d+)))$
Description
Matches both normalized and E notations, with or without spaces or negative numbers. Make sure to use a case insensitive pattern matcher. Group 1 is the significand, and either group 5 or group 7 is the exponent (one or the other will be null, but never both).
Matches
1.1 x 10^9 | 2.34 X 10^12 | 3.14159 * 10^30 | 1.1x10^9 | 2.34X10^12 | 3.14159*10^30 | 1.1 x 10e9 | 2.34 x 10E12 | 3.14159e30 | 1.1 x 10^-9 | 2.34 X 10^-12 | 3.14159E-30 | -1.1 x 10^9 | -2.34 X 10E12 | -3.14159 * 10e30 | -1.1x10^-9 | -2.34E-12 | -3.14159e-30 | 3.1459E+030 | 1x10^9 | 1E9
Non-Matches
0.1 x 10^9 | 23.4 x 10^12 | 3.14159 * 10e^30 | 1.1e8.3
Author Rating: Not yet rated. Jared Cook
Title Test Details RGB color format
Expression
^(?:(?:^|,\s*)([01]?\d\d?|2[0-4]\d|25[0-5])){3}$
Description
Expression to validate RGB color format
Matches
|120,155,0|0,0,0|254,244,008|
Non-Matches
|d,-5,0|0,256,1|%,1651|
Author Rating: Not yet rated. Moha
Title Test Details Pattern Title
Expression
^(\d{4}-){3}\d{4}$|^(\d{4} ){3}\d{4}$|^\d{16}$
Description
Used to validate Credit Card numbers, Checks if it contains 16 numbers in groups of 4 separated by -, ,or nothing
Matches
1111-2323-2312-3434 | 1234343425262837 | 1111 2323 2312 3434
Non-Matches
1111 2323 2312-3434 | 34323423 | 1111-2323-23122-3434
Author Rating: The rating for this expression. Sachin Bhatt
Title Test Details Pattern Title
Expression
^([a-zA-Z '-]+)$
Description
Check if the text is a valid firstname or lastname.It allows Characters,'- and space only
Matches
Sachin Bhatt | D'Souza | Ul-Haq
Non-Matches
sac2hin | sc*&amp; | sac)in
Author Rating: The rating for this expression. Sachin Bhatt
Title Test Details Finds npm config files?
Expression
^\\.?npmrc$
Description
I think this regex matches npm config files. I'm just testing out the submission process here.
Matches
\npmrc | \anpmrc | \-npmrc
Non-Matches
anpmrc | npmrc | npm
Author Rating: Not yet rated. Charlie Sale
Title Test Details FQDN for DNS configuration tool
Expression
^(?=^.{1,254}$)(^(?:(?!\.|-)([a-z0-9\-\*]{1,63}|([a-z0-9\-]{1,62}[a-z0-9]))\.)+(?:[a-z]{2,})$)$
Description
This regex matches FQDNs plus domains starting with an or containing asterisk. This is usefull for DNS configuration tools where you might have domains like *.domain.de or 12.152.80.in-addr.arpa.
Matches
12.152.80.in-addr.arpa | *.domain.de | test.de
Non-Matches
test | test. | -.de
Author Rating: Not yet rated. Andreas Burger
Title Test Details Number
Expression
^\s*[+-]?\s*(?:\d{1,3}(?:(,?)\d{3})?(?:\1\d{3})*(\.\d*)?|\.\d+)\s*$
Description
Matches numbers. May include decimals, thousands separators, and sign.
Matches
5,000 | - 10 | .1
Non-Matches
7.000.000 | 5,0000 | 1.000,000
Author Rating: Not yet rated. mark
Title Test Details AW Short Coordinate
Expression
^[0-9]+[NnSs] [0-9]+[WwEe]$
Description
This tests, are entered AW coordinates in correct short format, and it has no world info
Matches
0N 0W
Non-Matches
aw 0N 0W
Author Rating: Not yet rated. Slysoft
Title Test Details https://purelifegreencoffeebeanadvice.com/renewiderm/
Expression
5
Description
renewidermb Are you the type who likes basking in the sun all day without sun screen? Do you like staying outside in the sun for hours especially on summer months to obtain the perfect khaki? If you answered "yes" to any of these questions, it's time terminate the practice. Exposure to intense sunlight can cause skin damage such as wrinkles and age destinations. Having these prematurely can make a person look older than his or her develop. If you use such skin care skin maintenance systems regularly, you will find your skin to be soft, supple and healthy. Visible aging sings will abandon giving you the joy of lovely and youthful skin. https://purelifegreencoffeebeanadvice.com/renewiderm/
Matches
hkm
Non-Matches
fgtv
Author Rating: The rating for this expression. kldioswhe
Title Test Details Allow Decimal only
Expression
^\d*[0-9](|.\d*[0-9]|)*$
Description
Decimal like 123.23 123.1234 12345.456
Matches
123.23 | 123.1234 | 1234 | 1234.456
Non-Matches
123a.12 | 123.34d | abc
Author Rating: The rating for this expression. Gyanendra
Title Test Details Empty Cream Jars price
Expression
http://www.sinbottle-packaging.com/cosmetic-jars/empty-cream-jars/
Description
Dark glass bottles can block direct light, because the essence of most cosmetics is sensitive to light, which will affect the quality of the product. Conventional cosmetic packaging materials are basically plastic and glass. The glass bottles we produce are equipped with the following benefits: A sense of high quality, the glass bottles we produce give people a more advanced feeling than ordinary glass bottles and plastic bottles. Heavier weight, more weight in the hand, and feel more material. more stable. Some oily cosmetics are not suitable for plastic bottles, as the oil will melt the plastic. This problem does not exist with glass bottles. Dark glass jars with lids for cosmetics can fill some transparent and colorful cosmetics. The display effect is better. High-grade thickened glass cosmetic jars, with inner liners and screwed lids Material:Glass Capacity: 30g, 50g (Optional) 30g Size:Approx. 5.5*4.1cm 50g size:Approx. 6.5*4.8cm Our advantage is the issue that cosmetics manufacturers are more concerned about. Compared with other counterparts, the glass bottles we produce are more convenient and more thorough. The easiest way to disinfect packaging materials is to wash with water and then bake and disinfect at high temperature. The glass bottles can be washed and baked without any problems. Our glass materials are very resistant to high temperatures. Cosmetics, especially whitening and nutritional cosmetics, contain a lot of nutrients like food, but they are easily oxidized. This puts forward very high requirements on the tightness of the packaging, and the strong barrier properties of glass bottles are undoubtedly better than plastic bottles in protecting the contents. In addition, it has high gas barrier properties, which also makes glass bottles a packaging material for perfumes and other products that are volatile and easily lost.Empty Cream Jars price website:http://www.sinbottle-packaging.com/cosmetic-jars/empty-cream-jars/
Matches
Ojhehjeh4
Non-Matches
Ojhehjeh4
Author Rating: Not yet rated. Ojhehjeh4
Title Test Details Pattern Title
Expression
(?s)( class=\w+(?=([^&lt;]*&gt;)))|(&lt;!--\[if.*?&lt;!\[endif\]--&gt;)|(&lt;!\[if !\w+\]&gt;)|(&lt;!\[endif\]&gt;)|(&lt;o:p&gt;[^&lt;]*&lt;/o:p&gt;)|(&lt;span[^&gt;]*&gt;)|(&lt;/span&gt;)|(font-family:[^&gt;]*[;'])|(font-size:[^&gt;]*[;'])(?-s)
Description
Word HTML cleanup code. Use this expression to get rid of most of the stuff that Word adds to an HTML document such as: lots of span elements, font-family and font-size style attributes, class attributes, a whole bunch of if-then statements. Use this expression in a regex.replace(originalHtml, regExpr, &quot;&quot;).
Matches
&lt;span&gt;
Non-Matches
&lt;table&gt;
Author Rating: The rating for this expression. Peter Donker
Change page:   |    Displaying page 1 of 207 pages; Items 1 to 20

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