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

Change page:   |    Displaying page 268 of 273 pages; Items 5341 to 5360
Title Test Details Date expression with Slovak names of months
Expression
(?:\b(([0-2]\d|3[01])|\d)\.[ ]?(?:jan|feb|mar|apr|máj|jún|júl|aug|sep|okt|nov|dec|január\w{0,2}|február\w{0,2}|mar\w{0,2}|apríl\w{0,2}|máj\w{0,2}|jún\w{0,2}|júl\w{0,2}|august\w{0,2}|septemb\w{0,2}|októb\w{0,2}|novemb\w{0,2}|decemb\w{0,2})[ ][12][0-9]\d\d\b)
Description
Recognizes dates of format "[d]d.<slovak name of month>.YYYY". Months part can be either a 3-letter long abbreviation of a month, or full name (with a possible declination suffix).
Matches
"3. februára 1988", "23. feb 1988"
Non-Matches
"33. feb 1988", "3. februárový 1988"
Author Rating: Not yet rated. Adam Okruhlica
Title Test Details Pattern Title
Expression
^[-+]?[0-9]\d{0,2}(\.\d{1,2})?%?$
Description
Required and regular expression validator. For supporting -999.99 to +999.99 . Positive and Negative integer/ decimal validations. Percentage sign is also supported. Will not allow empty strings. Can increase/decrease the range as you need.
Matches
12.3 | 123 | -123.45
Non-Matches
- | 10.1234 | -1234
Author Rating: Not yet rated. Error Reporter
Title Test Details Integer with thousands separator
Expression
(^[1-9]{1,3}(,\d{3})*$)|(^0$)
Description
Unsigned integer with ',' (comma) as thousands separator, for example: 1,234,500
Matches
1,234,500 | 45 | 45,111 | 0 | 1,000 | 25,123
Non-Matches
1,23 | 0,450 | 1000 | 1000,000 | 300,1234
Author Rating: Not yet rated. Edgar Villegas Alvarado
Title Test Details RFC URL
Expression
(([\w]+:)?//)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,4}(:[\d]+)?(/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?
Description
A pretty decent URL matching expression. I've followed most RFC guidelines, so it'll match most anything ya throw at it (And wont match what it's not supposed to). If you see any problems with it, please email me so I can make the appropriate changes :)
Matches
http://www.domain.com | http://domain.com | http://domain.com | https://domain.com | https://sub.domain-name.com:8080 | http://domain.com/dir%201/dir_2/program.ext?var1=x&var2=my%20value | domain.com/index.html#bookmark
Non-Matches
Normal Text. | http://a.com | http://www.domain-.com
Author Rating: Not yet rated. r4cc00n
Title Test Details Exclude a string
Expression
^([^S]|S[^E]|SE[^P]).*
Description
Matches everything except lines that begin with SEP. Now I just need to figure out how to exclude a string that appears in the middle of a line.
Matches
SEk001 | TAK002
Non-Matches
SEP001 | SEP002
Author Rating: Not yet rated. Scott Freemire
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 Pattern Title
Expression
(^\([0]\d{2}\))(\d{6,7}$)
Description
Validator for New Zealand Mobile phone numbers. Will look for the first number being a 0 and must be a number or either 6 or 7 digits long after to initial (021) suffix
Matches
(021)1234567 | (021)123456 | (000)000000
Non-Matches
(123)1234567 | 025123456 | 0252345678
Author Rating: Not yet rated. Graeme Allwood
Title Test Details Pattern Title
Expression
(^\d{2}\.\d{3}\.\d{3}\/\d{4}\-\d{2}$)
Description
Brazilian CNPJ (xx.xxx.xxx/xxxx-xx)
Matches
02.025.659/0001-98 | 12.043.129/0001-98 | 43.456.654/2222-87
Non-Matches
a2.025.659/0001-98 | 02.025.659/0001-981 | 022.025.659/0001-98
Author Rating: Not yet rated. ricardo santos
Title Test Details Pattern Title
Expression
(^\d{5}\-\d{3}$)
Description
Brazilian CEP - (XXXXX-XXX)
Matches
22251-050 | 22251-888 | 22251-051
Non-Matches
22251-8050 | 22251A050 | 22251/050
Author Rating: The rating for this expression. ricardo santos
Title Test Details Pattern Title
Expression
(([01][\.\- +]\(\d{3}\)[\.\- +]?)|([01][\.\- +]\d{3}[\.\- +])|(\(\d{3}\) ?)|(\d{3}[- \.]))?\d{3}[- \.]\d{4}
Description
167 different US telephone patterns. Options includes a)0 or 1 dial, b)area code, c).+-()space between number dial-area code-number.
Matches
1 (999) 999 9999 | 999 999 9999 | 999 9999
Non-Matches
19999999999 | 9999999999 | 9999999
Author Rating: Not yet rated. Dennis Zweigle
Title Test Details Floating Complex Number
Expression
^([-+]?(\d+\.?\d*|\d*\.?\d+)([Ee][-+]?[0-2]?\d{1,2})?[r]?|[-+]?((\d+\.?\d*|\d*\.?\d+)([Ee][-+]?[0-2]?\d{1,2})?)?[i]|[-+]?(\d+\.?\d*|\d*\.?\d+)([Ee][-+]?[0-2]?\d{1,2})?[r]?[-+]((\d+\.?\d*|\d*\.?\d+)([Ee][-+]?[0-2]?\d{1,2})?)?[i])$
Description
DESCRIPTION Parses a complex number of kind 'a+bi' from an input string. Please remove all spaces from the input string before using this regex pattern. MATCHING EXAMPLES '[]' means is an optional parameter; '|' means OR; '+' is the positive sign; '-' is the negative sign; '#' is one ore more decimal digits; 'E|e' are the valid exponent symbols; '...' is the range for the exponent; 'r' means the real part of complex number; 'i' means the imaginary part of complex number. NOTE Has the imaginary part of the input string not a numeric value (e.g. '5-i' is a valid format) it should be interpreted as '5-1i'!
Matches
[+|-]#[.[#]]|[#].#[E|e[+|-]0...299][r] -OR- [+|-][#[.[#]]|[#].#[E|e[+|-]0...299]]i -OR- [+|-]#[.[#]]|[#].#[E|e[+|-]0...299][r]+|-[#[.[#]]|[#].#[E|e[+|-]0...299]]i
Non-Matches
[+|-][.][E|e[+|-][0...299]][r] -OR- [+|-].[E|e[+|-][0...299]]i -OR- [+|-][.][E|e[+|-][0...299]][r]+|-[#[.[#]]|[#].#[E|e[+|-][0...299]]]i -OR- any number with more than one sign or decimal seperator -OR- any string with non-leading signs on mantissa and on exponent
Author Rating: The rating for this expression. Fischer, M.
Title Test Details Floating Complex Number Accessible
Expression
^((?<r>([-+]?(\d+\.?\d*|\d*\.?\d+)([Ee][-+]?[0-2]?\d{1,2})?[r]?))|(?<i>([-+]?((\d+\.?\d*|\d*\.?\d+)([Ee][-+]?[0-2]?\d{1,2})?)?[i]))|(?<r>([-+]?(\d+\.?\d*|\d*\.?\d+)([Ee][-+]?[0-2]?\d{1,2})?[r]?))(?<i>([-+]((\d+\.?\d*|\d*\.?\d+)([Ee][-+]?[0-2]?\d{1,2})?)?[i])))$
Description
This is the same regex pattern as 'Floating Complex Number' but extented by group names. This makes it much easier to extract the parts of the complex number (e.g. string realPart=myMatch.Result("${r}");string imgPart=myMatch.Result("${i}"); ).
Matches
see base example
Non-Matches
see base example
Author Rating: Not yet rated. Fischer, M.
Title Test Details Floating Number
Expression
^([-+]?(\d+\.?\d*|\d*\.?\d+))$
Description
DESCRIPTION Parses a floating number (such as double or float) from an input string. Please remove all spaces from the input string before using this regex pattern. MATCHING EXAMPLES The following symbols are used: '[]' means optional parameter; '|' means OR; '+' is the positive sign; '-' is the negative sign; '#' means one or more decimal digits; '.' is decimal seperator.
Matches
[+|-]#[.[#]]|[#].#
Non-Matches
[+|-][.] -OR- any floating number with an exponent (e.g. 1.0E-8) -OR- any string with more than one sign or decimal seperator -OR- any string with non-leading sign
Author Rating: Not yet rated. Fischer, M.
Title Test Details Floating Number With Exponent
Expression
^([-+]?(\d+\.?\d*|\d*\.?\d+)([Ee][-+]?[0-2]?\d{1,2})?)$
Description
DESCRIPTION Parses a floating number with an optional exponent from an input string. Please remove all spaces from the input string before using this regex pattern. MATCHING EXAMPLES The following symbols are used: '[]' means an optional parameter; '|' means OR; '+' means the positive sign; '-' means the negative sign; '#' means one or more numbers (0...9); '.' is the decimal seperator; 'E|e' are the valid exponent symbols; '...' is the range of values for the exponent.
Matches
[+|-]#[.[#]]|[#].#[E|e[+|-]0...299]
Non-Matches
[+|-][.][E|e[+|-][0...299]] -OR- [+|-]#[.[#]]|[#].#E|e[+|-]300...∞ -OR- any string with more than one sign on mantissa or on exponent -OR- any string with non-leading signs on mantissa or exponent -OR- any string with more than one decimal seperator on mantissa | any string with one or more decimal seperators on exponent
Author Rating: Not yet rated. Fischer, M.
Title Test Details Pattern Title
Expression
^(?(^00000(|-0000))|(\d{5}(|-\d{4})))$
Description
US zip code expression that disallows 00000 or 00000-0000 for either ZIP or ZIP+4. Great for web site validation.
Matches
12345 | 12345-6789
Non-Matches
00000 | 00000-0000 | a4650-465s
Author Rating: Not yet rated. Paul Duncan
Title Test Details Comma separated Integers
Expression
^((\d{1,3}(,\d{3})*)|(\d{1,3}))$
Description
Matches all properly formatted integers of 1 or more integer with commas separating each group of 3 integers
Matches
10 | 100 | 1,000 | 1,000,000,000,000
Non-Matches
1000 | 1,0000 | 1000,000
Author Rating: Not yet rated. Colby Brown
Title Test Details Pattern Title
Expression
@{2}((\S)+)@{2}
Description
This will match results in a template situation. For example: template reads Dear @@Name@@, .... would become Dear John, If you dont want to use the @@ change the @ to what ever characters you want.
Matches
@@test@@ | @@name@@ | @@2342@@
Non-Matches
@test@ | @@na me@@ | @@ name@@
Author Rating: Not yet rated. john hamman
Title Test Details File Name
Expression
^([a-zA-Z]:\\)?[^\x00-\x1F"<>\|:\*\?/]+\.[a-zA-Z]{3,4}$
Description
This matches a valid windows filename. Not a valid path.I wanted something simple that covered all the bases
Matches
file.txt | fie.txt.pdf | file(with parenthesis).pdf
Non-Matches
*file.pdf | file.tx
Author Rating: The rating for this expression. Jose Paulino
Title Test Details Pattern Title
Expression
(^0[1-9]\d{1}\s\d{4}\s?\d{4}$)|(^0[1-9]\d{2}\s\d{3}\s?\d{4}$)|(^0[1-9]\d{2}\s\d{4}\s?\d{3}$)|(^0[1-9]\d{3}\s\d{3}\s?\d{2}$)|(^0[1-9]\d{3}\s\d{3}\s?\d{3}$)|(^0[1-9]\d{4}\s\d{3}\s?\d{2}$)|(^0[1-9]\d{4}\s\d{2}\s?\d{3}$)|(^0[1-9]\d{4}\s\d{2}\s?\d{2}$)
Description
This will match valid UK telephone numbers. This adheres to ofcom's code and number length guide available at http://www.ofcom.org.uk/licensing_numbering/numbers/num_user_guide#1b Brackets and international codes are not allowed. A space MUST be used after the dialling code, and spaces at the expected points within the remainder of the number can be used if need be, but not nessesary, hence 0208 6473 373 is the same as 0208 647 3373 and 0208 6473373
Matches
01323 293 374 | 020 73643763 | 017354 7478
Non-Matches
02 83838 74 | (01323) 828223 | +44 88282 828
Author Rating: The rating for this expression. rob collyer
Title Test Details Version Number
Expression
"\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}"
Description
this is regular expression for version number upto 3 digits
Matches
111.222.333.444
Non-Matches
characters
Author Rating: Not yet rated. chetan kela
Change page:   |    Displaying page 268 of 273 pages; Items 5341 to 5360

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