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

Change page:   |    Displaying page 35 of 57 pages; Items 681 to 700
Title Test Details Indonesian Cell Phone Number Validation
Expression
^((?:\+62|62)|0)[2-9]{1}[0-9]+$
Description
Validate Indonesian "Mobile Numbers Only" with or without the country code, also base on regular phone number format at http://id.wikipedia.org/wiki/Daftar_kode_telepon_di_Indonesia. This regex only allowed characters that accepted by mobile phone/sms gateway only :D
Matches
+62817737669 | 62817737669 | 0817737669 | 6221995500 | 021995500 | 0401998866
Non-Matches
+817737669 | 817737669 | 00817737669 | 0817 737 669 | 0817-737-669 | 021-995500
Author Rating: The rating for this expression. Didi Yudhiarto walnutz.net
Title Test Details Mathematical Expression
Expression
^ (?: (?> # non backtracking for alternated tokens (?: \- # "-" operator (?=\d|\() # followed by digit or "(" ) | (?: (?<=\d|\)) # preceded by digit or ")" (?:\+|\/|\*) # basic operators except "-" (?=\d|\(|\-) # followed by digit or "(" or "-" ) | (?<parenthesis> # incremente balancing group "parenthesis" counter (?<=^|\+|\/|\-|\*|\() # preceded by start of line or basic operator or "(" \( # opening parenthesis "(" (?=\d|\(|\-) # followed by digit or "-" or "(" ) | (?<-parenthesis> # decrement balancing group "parenthesis" counter (?<=\d|\)) # preceded by digit or ")" \) # opening parenthesis ")" (?!\d) # not followed by digit ) | (?: (?<=\(|\-|\+|\*|\/|^) # preceded by start of line or basic operator or "(" (?:\d+(?:\,\d{1,4})?) # number with optional 4 decimal with comma as decimal marker (?=$|\)|\-|\+|\*|\/) # followed by end of line or ")" or basic operator ) ) + (?(parenthesis)(?!)) # test for balancing group "parenthesis" counter ) # unnamed group whole expression $
Description
Useful for validating a basic singleline mathematical expression prior to calculating its value (as with eval). It allows numbers with optional 4 decimals marked with comma. Valid operations: addition, substraction, multiplication, division. Accepts negative numbers. Accepts only round brackets and balances them (.NET ONLY !!!).
Matches
-10/-3,5 | ((5,4-234556.1)*(0,899/2)-4,6778) | (1)+(-2)+-3*-5
Non-Matches
10*4,55555 | (-10+3)+ | -10*95,5+(-3
Author Rating: The rating for this expression. Bruce Wayne
Title Test Details Numeric range from 1-10
Expression
(^[1-9]$)|(^10$)
Description
Matches the numbers 1-10 and only the numbers 1-10.
Matches
1 | 8 | 10
Non-Matches
0 | 11 | 99
Author Rating: Not yet rated. Jed Albao
Title Test Details Decimal Points ( Dot) Validation
Expression
^\d*(\.\d*)$
Description
It Allows Only One decimal point in a given number
Matches
236.236 | 2369.2 | 69.236
Non-Matches
.336 | 256. | 5623.365.56
Author Rating: Not yet rated. makeupusaed
Title Test Details Item Number Pattern 1.236-896.6 valdation
Expression
^\d{1}(\.\d{3})-\d{3}(\.\d{1})$
Description
It Will check for unique Pattern Which we have used in our project
Matches
1.236-963.8 | 3.569-566.4
Non-Matches
123.9-896.4 | 3.6699-36.5
Author Rating: Not yet rated. makeupusaed
Title Test Details Number as English text
Expression
\b(((((one|t((en)|(wo)|(hree)|(welve)|(hirteen))|(evelen)|(f((our)|(ive))|s((ix)|(even))|eight|nine)(teen)?))\b(\s+hundred\s*)?)| ((t((wen)|(hir))|f((or)|(if))|s((ix)|(even))|eigh|nin)ty)(-(one|t((wo)|(hree))|f((our)|(ive))|s((ix)|(even))|eight|nine))?) (\s*(hundred|thousand|((([mb]|(t|quad)r))illion))\s*(and\s+)?)?)+
Description
Match words in English that represent a number
Matches
sixteen million six hundred thousand two hundred forty-seven
Non-Matches
16,600,247
Author Rating: The rating for this expression. Michael Ash
Title Test Details Password Strength
Expression
^((?=.{8,32}$)(?=.*\p{Lu})(?=.*\p{Ll})((?=.*\p{N})|(?=.*\p{P}))(?!.*\s))
Description
This .NET Framework expression tests a submitted password for length, a capital and lower case letter, a number or punctuation character and no spaces.<br /> (?=.{8,32}$) tests for a minimum of 8 characters and maximum of 32. (?=.*\p{Lu}) tests for at least one upper case letter anywhere in the string. (?=.*\p{Ll}) tests for at least one lower case letter anywhere in the string. ((?=.*\p{N})|(?=.*\p{P})) tests that there is at least one number OR one punctuation mark. (?!.*\s) tests that there are no spaces in the string.
Matches
Pass-Word | paSS1woRD | p4SSword
Non-Matches
PassWord | pass1RD | p4ssword
Author Rating: The rating for this expression. Jay A. Moritz
Title Test Details Strong Password Validation
Expression
^(?=.*[!@#$%^&*()\-_=+`~\[\]{}?|])(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9]).{8,20}$
Description
This should require all of the following: An uppercase letter, a lowercase letter, a number and a special character from the provided list. Lastly, it needs to be between 8 and 20 characters long. A lot of expressions I've found here don't require all four, this should. I'm pretty new at regex though, so I hope that other people will help strengthen this expression. When testing on this site, make sure you have the Case Insensitive checkbox turned off.
Matches
p2sSw@rd | p2sSw@rd#l0ngEr | abc#$%GH1
Non-Matches
p2ssw@rd | p2sSw@rd#l0ngErThisIs2l0ng | abc123DEF
Author Rating: The rating for this expression. John Pirkey
Title Test Details Color Hex
Expression
^#(\d{6})|^#([A-F]{6})|^#([A-F]|[0-9]){6}
Description
Hexadecimal color values to validate the system must begin with a # symbol, which can be combination of numbers and letters AF, but the letters must be uppercase.
Matches
#000000|#FFFFFF|#000FFF|#FFF000|#A1B2C3
Non-Matches
#ffffff|#ABC|#123|#AJKSDD|#a1b2c3|abcdef|123456
Author Rating: The rating for this expression. Netken
Title Test Details Italian mobile phone
Expression
^([+]39)?\s?((313)|(32[03789])|(33[013456789])|(34[0256789])|(36[0368])|(37[037])|(38[0389])|(39[0123]))[\s-]?([\d]{7})$
Description
This pattern matches italian mobile phone numbers: - Tim (330, 331, 333, 334, 335, 336, 337, 338, 339, 360, 363, 366, 368) - Vodafone Italia (340, 342, 345, 346, 347, 348, 349) - Wind (320, 323, 327, 328, 329, 380, 383, 388, 389) - 3 Italia (390, 391, 392, 393) - RFI (313) - virtual operators (370, 373, 377)
Matches
+393381234567 | +39 3381234567 | +39 338 1234567 | +39 338-1234567 | 3381234567 | 3381234567 | 338 1234567 | 338-1234567
Non-Matches
0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, NL02RABO567890123456, nl02 rabo 5678 9012 3456
Author Rating: The rating for this expression. Gerrit Post
Title Test Details Din 5008 phone number
Expression
^(\+[1-9]\d+) ([1-9]\d+) ([1-9]\d+)(\-\d+){0,1}$|^(0\d+) ([1-9]\d+)(\-\d+){0,1}$|^([1-9]\d+)(\-\d+){0,1}$
Description
Matches a Din 5008 formatted phone number, except of "special numbers" like "0180 5 12345"
Matches
+49 12 3456789 | +49 12 34567-89 | 012 3456789 | 1234567-89
Non-Matches
+49 012 3456789 | +49 (0)12 3456789 | 0180 5 12345
Author Rating: The rating for this expression. Mr. No
Title Test Details Positive Decimals with Commas
Expression
(^(\d|,)*\.?\d*[1-9]+\d*$)|(^[1-9]+(\d|,)*\.\d*$)|(^[1-9]+(\d|,)*\d*$)
Description
This expression will match all positive numbers that contain decimals and commas.
Matches
2,000.00, 2,000, .0020, 100, 100.00
Non-Matches
0, 0.00, -100.00, -0, -2000.00
Author Rating: The rating for this expression. Ryan Milbrath
Title Test Details International Phone Numbers
Expression
^((\+)?[1-9]{1,2})?([-\s\.])?((\(\d{1,4}\))|\d{1,4})(([-\s\.])?[0-9]{1,12}){1,2}$
Description
Allows for all kinds of generic international phone numbers, including that of the USA, may include () around area code as well as period, dash, space or nothing seperating numbers. International code needs to be seperated from rest by period, space or dash and my be prefixed with plus. Not overly restrictive but limits size and repetition of codes
Matches
2155552527|(215) 555 2527|215.555.2527|+1 215-555-2527|+1.215.555.2527
Non-Matches
+1215.555.2527|321654|+11+27 215-555-2527
Author Rating: The rating for this expression. Renso Hollhumer
Title Test Details Valid Medicare HIC number
Expression
(?![A-Z](\d)\1{5,})(^[A-Z]{1,3}(\d{6}|\d{9})$)|(^\d{9}[A-Z][0-9|A-Z]?$)
Description
Matches valid Medicare HIC number according to CMS specifications
Matches
H123456 | XYZ123456789 | 123456789B
Non-Matches
H123 | H999999 | H1234XB
Author Rating: The rating for this expression. Brian Thiessen
Title Test Details VIN - Vehicle Identification Number for USA
Expression
^[^iIoOqQ'-]{10,17}$
Description
Validates US VIN. It could be between 10 and 17 character in length and should never contain i, l, o, O, q, Q, ' or -.
Matches
12345awertasfggr
Non-Matches
12345qwertasfggr
Author Rating: The rating for this expression. Igor Werner
Title Test Details 1-12
Expression
\b(?:1[0-2]?|[2-9])\b
Description
you can enter number between 1 to 12
Matches
1,2..,10,11,12
Non-Matches
0,13,14...,qqq,aaa,a12,
Author Rating: Not yet rated. ajaidas
Title Test Details Telephone and Mobile number for the Maltese Islands
Expression
/(00356)?(99|79|77|21|27|22|25)[0-9]{6}/g
Description
Telephone and Mobile number for the Maltese islands including an optional 00356 for country code
Matches
0035621223344 | 0035679776655 | 99887766
Non-Matches
35621223344 | 88776655 | 0035655
Author Rating: The rating for this expression. William Farrugia
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 Date
Expression
^(0?\d|1[012])\/([012]?\d|3[01])\/(\d{2}|\d{4})$
Description
This is the US date expression. It's very flexible on omitting numbers. $1 = month $2 = day $3 = year
Matches
1/1/10 , 12/12/2010, 01/01/2010
Non-Matches
1JAN10
Author Rating: Not yet rated. Dusko Vuksanovic
Change page:   |    Displaying page 35 of 57 pages; Items 681 to 700

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