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

Change page:   |    Displaying page 362 of 381 pages; Items 7221 to 7240
Title Test Details New Zealand mobile phone
Expression
(^[0][2][1579]{1})(\d{6,7}$)
Description
This pattern matches the New Zealand mobile phone number. Only 021 025 027 029 number are matched.
Matches
0211234567 025123456 027123456 029123456
Non-Matches
(021)1234567 028282828 09828288
Author Rating: The rating for this expression. Adam Yang
Title Test Details Positive or Negative Integer with Commas
Expression
^[-+]?(\d?\d?\d?,?)?(\d{3}\,?)*$
Description
This pattern matches on Integer values. Handles leading positive or negative signs. Supports commas where only the leading group can have less than three digits.
Matches
+1 | -2 | 3,000 | 1,234,567
Non-Matches
A | 1,23 | 2,34,567 | 1.0
Author Rating: Not yet rated. Bret Stateham
Title Test Details Positive or Negative Decimal with Commas
Expression
^[-+]?(\d?\d?\d?,?)?(\d{3}\,?)*(\.?\d+)$
Description
This pattern matches decimal values. It supports option leading positive or negative symbols. Supports commas where only the leading group can have less than three numbers.
Matches
+1.0 | -3 | 1,234.00 | 1,234,567
Non-Matches
A | 1,23 | 1,23,456
Author Rating: Not yet rated. Bret Stateham
Title Test Details Web urls
Expression
^((https|http)://)?(www.)?(([a-zA-Z0-9\-]{2,})\.)+([a-zA-Z0-9\-]{2,4})(/[\w\.]{0,})*((\?)(([\w\%]{0,}=[\w\%]{0,}&?)|[\w]{0,})*)?$
Description
Matches the most common urls in the web
Matches
www.isis.net | https://securedomain.com | http://www.domainwithwww.com | isis.blogspot.com/path//Somefile.aspx?WSDL | http://www.google.com/SomeFile.aspx/?querystring=somegarbage | http://www.mail.ru/?mapped=value%20withspace
Non-Matches
http://www.invalidtld.morethanfourchars | http://s.com/?tooshortdomain | ftp://this.protocol.is/not?included=But&if=You%20wish&You=Can%20Add
Author Rating: Not yet rated. Isis The Black
Title Test Details Pattern Title
Expression
(("|')[a-z0-9\/\.\?\=\&]*(\.htm|\.asp|\.php|\.jsp)[a-z0-9\/\.\?\=\&]*("|'))|(href=*?[a-z0-9\/\.\?\=\&"']*)
Description
Will locate an URL in a webpage. It'll search in 2 ways - first it will try to locate a href=, and then go to the end of the link. If there is nu href=, it will search for the end of the file instead (.asp, .htm and so on), and then take the data between the "xxxxxx" or 'xxxxxx'
Matches
href="produktsida.asp?kategori2=218" | href="NuclearTesting.htm"
Non-Matches
U Suck
Author Rating: Not yet rated. Henric Rosvall
Title Test Details SIP
Expression
^(sip|sips):.*\@((\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})|([a-zA-Z\-\.]+\.[a-zA-Z]{2,5}))(:[\d]{1,5})?([\w\-?\@?\;?\,?\=\%\&]+)?
Description
A SIP regex.
Matches
sip:778@190.00.00.009:789?7893=003
Non-Matches
sip:D@cat
Author Rating: Not yet rated. betz
Title Test Details Even Zeros
Expression
(01*0|1)*
Description
A string of even zeros and any number of ones anywhere.
Matches
0011010010
Non-Matches
10
Author Rating: Not yet rated. Salma Hossam Mohsen
Title Test Details test
Expression
test
Description
test
Matches
test
Non-Matches
test
Author Rating: The rating for this expression. sanjay
Title Test Details Alphanumeric w spaces and double quotes
Expression
^["a-zA-Z0-9\040]+$
Description
Accepts words or quoted phrases for search strings. Stops SQL injection.
Matches
2 words "Search String"
Non-Matches
hi' or 1=1--
Author Rating: Not yet rated. Jeffrey Roughgarden
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 Strong Password
Expression
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*\W)(?!.*\s).{8,}$
Description
Password expresion that requires one lower case letter, one upper case letter, one digit, one non-word character, 8>= length and no spaces.
Matches
aA@1aaaa | aA@1aaaaasfljs;lkfe
Non-Matches
aA@1a aaa | aA1aaaaaaaa | 12345678
Author Rating: The rating for this expression. Ankhaa
Title Test Details https://musclebuildingbuy.com/massive-testo/
Expression
sfsdf
Description
Massive Testo Those with alopecia range from young adults who prefer to shave their heads to middle age men who are wearing hats testosterone to hide their receding hairlines. Well before you decide on using it or any other natural herb to regrow your hair, you need to analyze a few things about it. It's probably 98 to 99 percent male with at least two working girls, who had their own version of over/under. That has eventually come to an end because of social sites like MySpace and Facebook. https://musclebuildingbuy.com/massive-testo/
Matches
ffr
Non-Matches
frrg
Author Rating: Not yet rated. jek gor
Title Test Details https://creatine.wheretobuyy.com/creatine-you-gain-muscle-strength/
Expression
https://creatine.wheretobuyy.com/creatine-you-gain-muscle-strength/
Description
creatin supplement When you first enter a health food store in search of "Creatine Muscle Builder" you will quickly find two things. First, there are literally thousands of products that all claim to be the best. Second, the guy working the register in these stores doesn't have a clue what you need, although he will try to sell you the most expensive product in the store. https://creatine.wheretobuyy.com/creatine-you-gain-muscle-strength/
Matches
https://creatine.wheretobuyy.com/creatine-you-gain-muscle-strength/
Non-Matches
https://creatine.wheretobuyy.com/creatine-you-gain-muscle-strength/
Author Rating: Not yet rated. dapenur JON
Title Test Details Pattern Title
Expression
^\(0[1-9]{1}\)[0-9]{8}$
Description
This is used to validate an Australian telephone number with no other characters than the () being used. Validates area code being between 01 - 09.
Matches
(02)12341234 | (03)12341234 | (05)12341234
Non-Matches
00 1234 1234 | 00-1234-1234 | (00)12341234
Author Rating: The rating for this expression. Barry Pranklin
Title Test Details Parsing VB Strings (or csv qualified strings)
Expression
((?:(?:"[^"]*")|('[^\r]*)(\r\n)?)*)([\s]*[,]|$) {CHANGED TO) (?<![\"\w\d\s])[\s]*(?:"((?:[^\"]|[\"]{2})*)"|([\w\d\s]+))[\s]*(?=[\,]|[\r\n]+|$)
Description
I started out looking for a way to propertly parse delimited CSV text. Everything that I tried on my own was not doing what I wanted it to do, so I borrowed one from someone here and customized it a bit to get pretty close to what I wanted (see ORIGIONAL MESSAGE below). Ultimately though, I still needed more functionality, so I started over, and came up with this. It actually does a very good job of actually parsing columns from the CSV text. I use Regex Replace( csvText, "[$1$2]" ) to actually see the column content, but there are many other ways (obviously). ORIGIONAL MESSAGE: ____________________________________________________ I was having trouble parsing fields from csv files due to the string qualifiers, when I came across a regex posted by Tom Svensson. It didn't quite meet my needs though because it was parsing the substrings (escaped quotes) as seperate results. This one will actually parse the entire string out, with it's escaped quote portion. None the less, thank you Tom Svensson for your help!
Matches
"a""b""c", "d""e""f", JHI, 234 (pulls: a""b""c and d""e""f and JHI 234)
Non-Matches
asd"
Author Rating: Not yet rated. David Oldfield
Title Test Details Pattern Title
Expression
^\d?\d'(\d|1[01])?.?(\d|1[01])&quot;$
Description
This RE matches the height in feet and inches with decimals and without decimals in it
Matches
5'5.5&quot; | 2'3&quot; | 9'10.4&quot;
Non-Matches
5 feet 5.5 inches
Author Rating: Not yet rated. Farida Khan
Title Test Details Cut hierarchy
Expression
.+(?=((\\|\/).+){2})
Description
Get file\folder path and rise in hierarchy by n folders. For example: c:\fold1\fold2\fold3\fold4\fold5 will match c:\fold1\fold2\fold3
Matches
c:\fold1\fold2\fold3\fold4\fold5
Non-Matches
abcd
Author Rating: Not yet rated. nadav
Title Test Details Numbers including scientific format
Expression
^-?[1-9]\d*\.?(\d+([eE][-+]\d+)?)?$
Description
Matches numbers including scintific format
Matches
-23333.1e+24 | 123 | 34.2
Non-Matches
23333.01+24 | +123 | 34.-20
Author Rating: Not yet rated. nadav
Title Test Details UK Postcode District (Loose Match)
Expression
[A-Za-z]{1,2}[\d]{1,2}[A-Za-z]{0,1}
Description
The postcode district is the first block of a UK postcode. For example with DN55 1PT it would match DN55. Its a loose match as it only ensures that the format is correct, it doesn't validate the letters and numbers. It doesn't let in the non-geographic codes postcodes SAN TA1 and GIR 0AA. It will pull out the first block of any of the matching examples below. Examples of the names of the different parts of a UK postcode can be found here: http://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom#Life-cycle_of_post_codes
Matches
AA9A 9AA | A9A 9AA | A9 9AA | A99 9AA | AA9 9AA | AA99 9AA | EC1A 1BB | W1A 1HQ | M1 1AA | B33 8TH | CR2 6XH | DN55 1PT
Non-Matches
SAN TA1 | GIR 0AA
Author Rating: Not yet rated. Matthew Harris
Title Test Details UK Postcode Sector (Loose Match)
Expression
[A-Za-z]{1,2}[\d]{1,2}[A-Za-z]{0,1}\s*[\d]
Description
The postcode sector is the first block (the postcode district) of a UK postcode plus the first number of the second block. For example with DN55 1PT it would match DN55 1. Its a loose match as it only ensures that the format is correct, it doesn't validate the letters and numbers. It doesn't let in the non-geographic codes postcodes SAN TA1 and GIR 0AA. It will pull out the first block & the sector code of any of the matching examples below. Examples of the names of the different parts of a UK postcode can be found here: http://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom#Life-cycle_of_post_codes
Matches
AA9A 9AA | A9A 9AA | A9 9AA | A99 9AA | AA9 9AA | AA99 9AA | EC1A 1BB | W1A 1HQ | M1 1AA | B33 8TH | CR2 6XH | DN55 1PT | AA9A9AA | A9A9AA | A99AA | A999AA | AA99AA | AA999AA
Non-Matches
SAN TA1 | GIR 0AA
Author Rating: Not yet rated. Matthew Harris
Change page:   |    Displaying page 362 of 381 pages; Items 7221 to 7240

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