RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Browse Expressions by Category

173 regular expressions found in this category!

Expressions in category: Misc

Change page:   |    Displaying page 3 of 9 pages; Items 41 to 60
Title Test Details Pattern Title
Expression
^[A-Za-z]{6}[0-9]{2}[A-Za-z]{1}[0-9]{2}[A-Za-z]{1}[0-9]{3}[A-Za-z]{1}$
Description
This pattern match italian fiscal code (codice fiscale).
Matches
SPGGRG73A02E625S | czzdll74h18f205w
Non-Matches
SP6FFFF3A02E625S | czzdll74h18f205
Author Rating: The rating for this expression. Giorgio Spugnesi
Title Test Details Pattern Title
Expression
^([\(]{1}[0-9]{3}[\)]{1}[ |\-]{0,1}|^[0-9]{3}[\-| ])?[0-9]{3}(\-| ){1}[0-9]{4}$
Description
Validates US phone numbers. Phone number can be delimited with dashes or spaces. Area code can optionally include parentheses. To optionally validate area codes, try this expression. ^([\(]{1}[0-9]{3}[\)]{1}[ |\-]{0,1}|^[0-9]{3}[\-| ])?[0-9]{3}(\-| ){1}[0-9]{4}$
Matches
(111) 223-2332 | (222)233-2332 | 232-323-3233
Non-Matches
(ddd) 223-2332 | 222-232/2333 | 322-3223-222
Author Rating: The rating for this expression. gabe g
Title Test Details Pattern Title
Expression
</?(\w+)(\s+\w+=(\w+|"[^"]*"|'[^']*'))*>
Description
Finds any HTML tag and sub-matches properties weather it has an apposterphee, quote, or no quote/apposterphee
Matches
<TD> | <TD bgColor="FFFFFF"> | </TD>
Non-Matches
No Tag Here ...
Author Rating: The rating for this expression. Lewis Moten
Title Test Details Pattern Title
Expression
^(([+]\d{2}[ ][1-9]\d{0,2}[ ])|([0]\d{1,3}[-]))((\d{2}([ ]\d{2}){2})|(\d{3}([ ]\d{3})*([ ]\d{2})+))$
Description
Swedish phone numbers according to SIS standard
Matches
+46 8 123 456 78 | 08-123 456 78 | 0123-456 78
Non-Matches
+46 08-123 456 78 | 08 123 456 78 | 0123 456 78
Author Rating: The rating for this expression. Martin Henningsson
Title Test Details Pattern Title
Expression
^[0-9](\.[0-9]+)?$
Description
matches non-negative decimal floating points numbers less than 10
Matches
1.2345 | 0.00001 | 7
Non-Matches
12.2 | 1.10.1 | 15.98
Author Rating: The rating for this expression. Snikwad Kcirtap
Title Test Details Pattern Title
Expression
^07([\d]{3})[(\D\s)]?[\d]{3}[(\D\s)]?[\d]{3}$
Description
UK Mobile phone regular expression. I usually run this against a telephone field to split out landlines and mobile numbers.
Matches
07976444333 | 07956-514333 | 07988-321-213
Non-Matches
+44 07976444333 | 08956-444-444
Author Rating: The rating for this expression. Daren Salter
Title Test Details Pattern Title
Expression
^(V-|I-)?[0-9]{4}$
Description
Postcode check for Italy (including possible Vatican/Italy indications)
Matches
1234 | V-1234
Non-Matches
12345
Author Rating: The rating for this expression. Henk de Vries
Title Test Details ZIP+4 - XXXXX-XXXX
Expression
^\d{5}-\d{4}$
Description
Numeric and hyphen 5+4 ZIP code match for ZIP+4.
Matches
22222-3333 | 34545-2367 | 56334-2343
Non-Matches
123456789 | A3B 4C5 | 55335
Author Rating: The rating for this expression. Steven Smith
Title Test Details Strongish Password
Expression
^[a-zA-Z]\w{3,14}$
Description
The password's first character must be a letter, it must contain at least 4 characters and no more than 15 characters and no characters other than letters, numbers and the underscore may be used
Matches
abcd | aBc45DSD_sdf | password
Non-Matches
afv | 1234 | reallylongpassword
Author Rating: The rating for this expression. Steven Smith
Title Test Details Pattern Title
Expression
^([0-9]{2})?(\([0-9]{2})\)([0-9]{3}|[0-9]{4})-[0-9]{4}$
Description
A simple expression to brazilian phone number code, with international code. Simple DDI without "+" 99 plus simple DDD (99) plus simple local phone number 3 or 4 digits plus "-" plus 4 digits.
Matches
55(21)123-4567 | (11)1234-5678 | 55(71)4562-2234
Non-Matches
3434-3432 | 4(23)232-3232 | 55(2)232-232
Author Rating: The rating for this expression. Rafael Miranda
Title Test Details Five Integer US ZIP Code
Expression
^\d{5}$
Description
Matches 5 numeric digits, such as a zip code.
Matches
33333 | 55555 | 23445
Non-Matches
abcd | 1324 | as;lkjdf
Author Rating: The rating for this expression. Steven Smith
Title Test Details AMD Athlon/Duron Codes (not Athlon 64)
Expression
^((A(((H[MX])|(M(P|SN))|(X((D[ACH])|(M[DS]))?)))?)|(K7(A)?)|(D(H[DLM])?))(\d{3,4})[ABD-G][CHJK-NPQT-Y][Q-TV][1-4][B-E]$
Description
Matches valid reference codes for AMD Athlon and Duron processors (not Athlon 64).
Matches
AXDA3200DKV4E | A1000AMT3B | D800AUT1B
Non-Matches
N/A
Author Rating: Not yet rated. Amos Hurd
Title Test Details Pattern Title
Expression
^([a-zA-Z.\s']{1,50})$
Description
This is just a regular special char expression used to get the hax0rs off your back (hopefully). You can use this for regular open name checking if you wanted. It only fails on the insert of anything other than a-z, A-Z, and ' or whitespace. I'm open to suggestions, but try to email them to me as well as posting them to help others. Thanks.
Matches
Jon M. Doe | Tim L. O'Doul | ...'''''
Non-Matches
Doe, Jon | <>,;:"?/ | %\$#@!
Author Rating: Not yet rated. John Smart
Title Test Details Pattern Title
Expression
[^a-zA-Z \-]|( )|(\-\-)|(^\s*$)
Description
This match fileds contain only letters, a single hyphen, a single space, not empty
Matches
Steven Wang33 | Jing Xu
Non-Matches
Steven Wang | Jing Xu
Author Rating: Not yet rated. Jun Wang
Title Test Details Pattern Title
Expression
^([a-zA-Z0-9!@#$%^&*()-_=+;:'"|~`<>?/{}]{1,5})$
Description
This Regular expression validates a string that contains all printable characters with a minimum length of 1 and maximum length of 5. Obviously the min and max can be changed to meet the users needs. ^([a-zA-Z0-9!@#$%^&*()-_=+;:'"|~`<>?/{}]{1,5})$ This is the string, I keep getting &lt and other characters when I save it.
Matches
ilove | $%*!_ | it
Non-Matches
123456 | This is great
Author Rating: Not yet rated. Michael Matusiewicz
Title Test Details Pattern Title
Expression
^[0-9]{4}\s{0,2}[a-zA-z]{2}$
Description
Dutch postalcode expression. 4 digits followed by max. two spaces end ending on two letters.
Matches
4006 AB | 4006ab | 4006 AB
Non-Matches
4006.ab | 4006_ab | 4006/ab
Author Rating: Not yet rated. martijn db
Title Test Details Pattern Title
Expression
^\(?082|083|084|072\)?[\s-]?[\d]{3}[\s-]?[\d]{4}$
Description
I modified the existing phone number regex for another user looking to only allow 082, 083, 084, or 072 exchanges. Written by Jason Gaylord
Matches
082-131-5555 | 083-145-654 | 072 555 1212
Non-Matches
131-253-4564 | 5551212 | 800 555 1212
Author Rating: Not yet rated. Jason N. Gaylord
Title Test Details Pattern Title
Expression
^[0-9]{2}[-][0-9]{2}[-][0-9]{2}$
Description
Validates a UK Bank Sort code
Matches
09-01-29 | 05-06-25
Non-Matches
090125
Author Rating: Not yet rated. Richard Slade
Title Test Details Pattern Title
Expression
^[+]447\d{9}$
Description
Validates a UK mobile phone number in International format
Matches
+447974405524 | +447932205578
Non-Matches
447974407726 | +4407974407724
Author Rating: Not yet rated. Richard Slade
Title Test Details Pattern Title
Expression
[1-2][0|9][0-9]{2}[0-1][0-9][0-3][0-9][-][0-9]{4}
Description
Swedish person number. Don't work on persons older then 100 years, but they are so few that it shouldn't be a problem. Easy to fix, but I choose not to accept oldies...
Matches
19740609-7845 | 19811116-7845 | 20010913-7598
Non-Matches
21003612-9999 | 18790505-4545 | 19740641-5559
Author Rating: Not yet rated. Tomas Axelsson
Change page:   |    Displaying page 3 of 9 pages; Items 41 to 60

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