Displaying page
of
pages;
Items to
| Title |
Test
Details
Pattern Title
|
| Expression |
(^[A-Z]{1,2}[0-9]{1,}:{1}[A-Z]{1,2}[0-9]{1,}$)|(^\$(([A-Z])|([a-z])){1,2}([0-9]){1,}:{1}\$(([A-Z])|([a-z])){1,2}([0-9]){1,}$)|(^\$(([A-Z])|([a-z])){1,2}(\$){1}([0-9]){1,}:{1}\$(([A-Z])|([a-z])){1,2}(\$){1}([0-9]){1,}$) |
| Description |
A regular expression for any valid MS Excel range |
| Matches |
A1:BB10 | $A1:$BB10 | $A$1:$BB$10 |
| Non-Matches |
$A1:BB10 |
| Author |
Rating:
Not yet rated.
Thanassis Viennas
|
| Title |
Test
Details
North American Phone Numbering Plan
|
| Expression |
^((\+?(?<CountryCode>1)\s(?<AreaCode>[2-9][0-8][0-9])\s)|((?<AreaCode>[2-9][0-8][0-9])\s))?(?<ExchangeCode>[2-9][0-9][0-9])\s(?<StationCode>[0-9][0-9][0-9][0-9])$ |
| Description |
Matches normalized (space separated) phone numbers according to the NANP (North American Numbering Plan). It doesn't support extension numbers. |
| Matches |
+1 206 555 3080 |
| Non-Matches |
1 555 3080 |
| Author |
Rating:
Eduardo Velasquez
|
| Title |
Test
Details
Find '&' (ampersands) that are not part of HTML Special Characters
|
| Expression |
\x26(?!((amp\x3B)|(nbsp\x3B)|(lt\x3B)|(gt\x3B)|(copy\x3B)|(reg\x3B)|(cent\x3B)|(deg\x3B)|(deg\x3B)|(micro\x3B)|(middot\x3B)|(not\x3B)|(para\x3B)|(plusmn\x3B)|(pound\x3B)|(raquo\x3B)|(sect\x3B)|(yen\x3B)|([\x23][0-9]{1,3}\x3B)|(lsquo\x3B)|(rsquo\x3B)|(sbquo\x3B)|(ldquo\x3B)|(rdquo\x3B)|(bdquo\x3B)|(dagger\x3B)|(Dagger\x3B)|(permil\x3B)|(lsaquo\x3B)|(rsaquo\x3B)|(spades\x3B)|(clubs\x3B)|(hearts\x3B)|(diams\x3B)|(oline\x3B)|(larr\x3B)|(uarr\x3B)|(rarr\x3B)|(darr\x3B)|(trade\x3B)|([\x23]x2122\x3B)|(quot\x3B)|(frasl\x3B)|(ndash\x3B)|(mdash\x3B)|(iexcl\x3B)|(cent\x3B)|(curren\x3B)|(brvbar\x3B)|(brvbar\x3B)|(uml\x3B)|(die\x3B)|(ordf\x3B)|(laquo\x3B)|(not\x3B)|(shy\x3B)|(macr\x3B)|(hibar\x3B)|(sup2\x3B)|(sup3\x3B)|(acute\x3B)|(micro\x3B)|(cedil\x3B)|(sup1\x3B)|(ordm\x3B)|(raquo\x3B)|(frac14\x3B)|(frac12\x3B)|(frac34\x3B)|(iquest\x3B)|(Agrave\x3B)|(Aacute\x3B)|(Acirc\x3B)|(Atilde\x3B)|(Auml\x3B)|(Aring\x3B)|(AElig\x3B)|(Ccedil\x3B)|(Egrave\x3B)|(Eacute\x3B)|(Ecirc\x3B)|(Euml\x3B)|(Igrave\x3B)|(Iacute\x3B)|(Icirc\x3B)|(Iuml\x3B)|(ETH\x3B)|(Ntilde\x3B)|(Ograve\x3B)|(Oacute\x3B)|(Ocirc\x3B)|(Otilde\x3B)|(Ouml\x3B)|(times\x3B)|(Oslash\x3B)|(Ugrave\x3B)|(Uacute\x3B)|(Ucirc\x3B)|(Uuml\x3B)|(Yacute\x3B)|(THORN\x3B)|(szlig\x3B)|(agrave\x3B)|(aacute\x3B)|(acirc\x3B)|(atilde\x3B)|(auml\x3B)|(aring\x3B)|(aelig\x3B)|(ccedil\x3B)|(egrave\x3B)|(eacute\x3B)|(ecirc\x3B)|(euml\x3B)|(igrave\x3B)|(iacute\x3B)|(icirc\x3B)|(iuml\x3B)|(eth\x3B)|(ntilde\x3B)|(ograve\x3B)|(oacute\x3B)|(ocirc\x3B)|(otilde\x3B)|(ouml\x3B)|(divide\x3B)|(oslash\x3B)|(ugrave\x3B)|(uacute\x3B)|(ucirc\x3B)|(uuml\x3B)|(yacute\x3B)|(thorn\x3B)|(yuml\x3B)|(Alpha\x3B)|(Alpha\x3B)|(Beta\x3B)|(beta\x3B)|(Gamma\x3B)|(gamma\x3B)|(Delta\x3B)|(delta\x3B)|(Epsilon\x3B)|(epsilon\x3B)|(Zeta\x3B)|(zeta\x3B)|(Eta\x3B)|(eta\x3B)|(Iota\x3B)|(iota\x3B)|(Kappa\x3B)|(kappa\x3B)|(Lambda\x3B)|(lambda\x3B)|(Mu\x3B)|(mu\x3B)|(Nu\x3B)|(nu\x3B)|(Xi\x3B)|(xi\x3B)|(Omicron\x3B)|(omicron\x3B)|(Pi\x3B)|(pi\x3B)|(Rho\x3B)|(rho\x3B)|(Sigma\x3B)|(sigma\x3B)|(Tau\x3B)|(tau\x3B)|(Upsilon\x3B)|(upsilon\x3B)|(Phi\x3B)|(phi\x3B)|(Chi\x3B)|(chi\x3B)|(Psi\x3B)|(psi\x3B)|(Omega\x3B)|(omega\x3B))) |
| Description |
This expression will match ampersands('&') that are not part an HTML Special Character string. |
| Matches |
& |
| Non-Matches |
& ψ  |
| Author |
Rating:
Not yet rated.
Luke Jernejcic
|
| Title |
Test
Details
Pattern Title
|
| Expression |
(?=^.{6,10}$)(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{":;'?/>.<,])(?!.*\s).*$ |
| Description |
This regular expression match can be used for validating strong password. It expects atleast 1 small-case letter, 1 Capital letter, 1 digit, 1 special character and the length should be between 6-10 characters. The sequence of the characters is not important. This expression follows the above 4 norms specified by microsoft for a strong password. |
| Matches |
1A2a$5 | 1234567Tt# | Tsd677% |
| Non-Matches |
Tt122 | 1tdfy34564646T* |
| Author |
Rating:
Sujata Bhave
|
| Title |
Test
Details
Pattern Title
|
| Expression |
^([a-zA-Z]\:|\\\\[^\/\\:*?"<>|]+\\[^\/\\:*?"<>|]+)(\\[^\/\\:*?"<>|]+)+(\.[^\/\\:*?"<>|]+)$ |
| Description |
This regular expression match any valid file path. It checks local drives and network path. The file extension is required. |
| Matches |
c:\Test.txt | \\server\shared\Test.txt | \\server\shared\Test.t |
| Non-Matches |
c:\Test | \\server\shared | \\server\shared\Test.? |
| Author |
Rating:
Not yet rated.
Roberto Misticoni
|
| Title |
Test
Details
Strong Password
|
| Expression |
^(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W]){1,})(?!.*\s).{7,30}$ |
| Description |
The basic expression requires at least 1 lower case, 1 upper case, 1 numeric, 1 non-word and no whitespace.
<br /><br />
The format of the expression lends itself to being parameterised, thus in C# I have a method that returns a modified pattern based on passed in parameters e.g.
<br /><br />return "^(?=(.*[a-z]){" + minLowerCase.ToString() + ",})"<br /> + "(?=(.*[\d]){" + minNumeric.ToString() + ",})"<br /> ... <br /> + ".{" + minLength.ToString() + "," + maxLength.ToString() + "}$");<br /><br />Its then possible to set the password strength via configuration files which require strong passwords in production environments, but allow weaker passwords in development environments. |
| Matches |
qW1@xxx |
| Non-Matches |
qwerty123 |
| Author |
Rating:
Not yet rated.
Chris Stead
|
| Title |
Test
Details
Pattern Title
|
| Expression |
^\+?\(?\d+\)?(\s|\-|\.)?\d{1,3}(\s|\-|\.)?\d{4}$ |
| Description |
Simply matches a telephone number. Not meant to be extremly accurate but more for q uick match or extracting from a body of text. Does not support extensions |
| Matches |
555 5555 | (555) 555-5555 | +555 5555555 |
| Non-Matches |
+ 55 5555 | () 555 5555 |
| Author |
Rating:
Not yet rated.
Kenneth Kalmer
|
| Title |
Test
Details
Pattern Title
|
| Expression |
^\+?\(?\d+\)?(\s|\-|\.)?\d{1,3}(\s|\-|\.)?\d{4}$ |
| Description |
Simply matches a telephone number. Not meant to be extremly accurate but more for q uick match or extracting from a body of text. Does not support extensions |
| Matches |
555 5555 | (555) 555-5555 | +555 5555555 |
| Non-Matches |
+ 55 5555 | () 555 5555 |
| Author |
Rating:
Not yet rated.
Kenneth Kalmer
|
| Title |
Test
Details
Venezuelan Cedula de Identidad
|
| Expression |
^[[V|E|J|G]\d\d\d\d\d\d\d\d]{0,9}$ |
| Description |
Regexp to validate Venezuelan Id number Or Cedula de identidad.
|
| Matches |
V14653267 | J65412378 | E64578911 |
| Non-Matches |
A45465654 | AE1234567 | J15E12345 |
| Author |
Rating:
Not yet rated.
Roger Marin
|
| Title |
Test
Details
All number between 0001 and 9999
|
| Expression |
^([1-9]\d{3}|0[1-9]\d{2}|00[1-9]\d{1}|000[1-9]{1})$ |
| Description |
This RE will match all numbers between (including) 0001 and 9999. Four places of digits are mandatory in this expression. |
| Matches |
0001 | 0064 | 0948 | 7697 |
| Non-Matches |
1 | 64 | 948 |
| Author |
Rating:
Not yet rated.
Amritashan S. Lal
|
| Title |
Test
Details
Brazilian ID - RG
|
| Expression |
(^(\d{2}\x2E\d{3}\x2E\d{3}[-]\d{1})$|^(\d{2}\x2E\d{3}\x2E\d{3})$) |
| Description |
Brazilian ID document, known in Brazil as RG (Registro Geral). |
| Matches |
12.123.123 | 12.123.123-1 |
| Non-Matches |
12123123 | 12.12.123 | 12.123.12 | 12.123.123- | 12.123.123-12 |
| Author |
Rating:
Paulo R. M. Sorrentino
|
| Title |
Test
Details
Pattern Title
|
| Expression |
(?<email>[a-zA-Z][a-zA-Z0-9-_.]+\@[a-zA-Z][a-zA-Z0-9-_]+\.(?(?=[a-zA-Z]{2}\.)([a-zA-Z0-9-_]{2}\.[a-zA-Z0-9-_]{2})|([a-zA-Z0-9-_]{2,3}))) |
| Description |
This is a email validation group to fetch all the valid email address.
If you want any expression then mail me at my id
rahul_goel@kaleconsultants.com |
| Matches |
sample@sample.com | sample@sample.co.in | sample@sample.uk |
| Non-Matches |
sample.@sample | sample@com | sample |
| Author |
Rating:
Rahul Goel
|
| Title |
Test
Details
Pattern Title
|
| Expression |
^[http://www.|www.][\S]+$ |
| Description |
a simple url validation |
| Matches |
http://www.regexlib.com/Add.aspx | www.regexlib.com/Add.aspx |
| Non-Matches |
regexlib.com/Add.aspx |
| Author |
Rating:
Rahul Bhot
|
Displaying page
of
pages;
Items to