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

Change page:   |    Displaying page 412 of 413 pages; Items 8221 to 8240
Title Test Details Zero not allowed
Expression
^([1-9]\d*|0)(([.,]\d*[1-9])?)$
Description
Positive real multi-digit number: don't allow preciding zero, last decimal digit zero not allowed.
Matches
1500 | 0,331 | 12.005
Non-Matches
01500 | 0,330 | 012.0050
Author Rating: Not yet rated. Gordan Halama
Title Test Details German/International Mobile Phone Number RegEx
Expression
^((01[0-9])\d{9}$|(1[0-9])\d{9}$|((00\d{5,6}|\+\d{4,6}|\+[(]\d{1,3}[)]\d{3}))(|[-\/])\d{8}$)
Description
I created my own RegEx for German/International, it includes Operators like + and / in the RegEx. The Prefix can be from 1 to 999. Be free to use it !
Matches
+(49)15732561545 | +4915732561545 | 004915732561545 | +(49)157/32561545 | +49157/32561545 | 0049157/32561545 | +(49)157-32561545 | +49157-32561545 | 0049157-32561545
Non-Matches
+[49]15732561545 | +-4915732561545 | 0049-15732561545 | +[49]157*32561545 | +49157_32561545 | 0049157_32561545 | +(49)157_*32561545 | +49_157-32561545 | 0049157//32561545
Author Rating: Not yet rated. Abraham
Title Test Details German/International Phone Number RegEx
Expression
^(\d{5}([-\/]|)\d{0,9}$|((00\d{5,6}|\+\d{4,6}|\+[(]\d{1,3}[)]))\d{1,4}(|[-\/])\d{1,7}$)
Description
I created my own RegEx for German/International, it includes Operators like + and / in the RegEx. The Prefix can be from 1 to 999. Be free to use it !
Matches
+(49)70425159535 | +4970425159535 | 004970425159535 | +(49)7042/5159535 | +497042/5159535 | 00497042/5159535 | +(49)7042-5159535 | +497042-5159535 | 00497042-5159535
Non-Matches
+[49]70455159535 | +-4970425159535 | 0049-70425159535 | +[49]7045*5159535 | +497045_5159535 | 00497045_5159535 | +(49)7045_*5159535 | +49_7045-5159535 | 00497045//5159535
Author Rating: Not yet rated. Abraham
Title Test Details Array<Integer>
Expression
^(?:\d+,\s*)*\d+\s*$
Description
Checks if the target string is an array consisted of integer numbers or not. An integer array string means that a series of integer numbers that separated by comma (,)
Matches
7 | 11,9,7,5, 1 ,3 | 2 , 6
Non-Matches
Hello | 9,,,5,1 | 2,
Author Rating: Not yet rated. Jeff Tian
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: Not yet rated. 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
&amp; &psi; &#24;
Author Rating: The rating for this expression. Luke Jernejcic
Title Test Details 1st, 2nd, 3rd, 4th, etc. not capturing st, nd, rd, th
Expression
([0-9]+)(?:st|nd|rd|th)
Description
This will only pull the number off of something like 23rd.
Matches
1st|2nd|3rd|4th|232nd
Non-Matches
11 th|abc|30ty|15xx|56
Author Rating: Not yet rated. Benjamin Heimann
Title Test Details Simple US Phone Number
Expression
^\([2-9]\d{2}\) \d{3}[- .]?\d{4}\D*(\d*)$
Description
Forces parethesis and space before 7 digit number
Matches
(555) 555-5555
Non-Matches
555-555-5555
Author Rating: Not yet rated. John Burrey
Title Test Details Pattern Title
Expression
(?=^.{6,10}$)(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&amp;*()_+}{&quot;:;'?/&gt;.&lt;,])(?!.*\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: The rating for this expression. Sujata Bhave
Title Test Details DMS Coordinate
Expression
[0-9]{1,2}[:|°|º][0-9]{1,2}[:|'](?:\b[0-9]+(?:\.[0-9]*)?|\.[0-9]+\b)"?[N|S|E|W]
Description
This is a slightly modified version of Kurt's DMS Coordinate regex so all the credit should go to Kurt - I just modified it to match a second character that may commonly be used to represent degrees
Matches
37º41'26"N,97º20'0"W (comma delimited, commas do not match...obviously :)
Non-Matches
∞ , φ, π ....etc.... see Kurt's documentation
Author Rating: The rating for this expression. Jordan Pollard
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: The rating for this expression. Roberto Misticoni
Title Test Details erik
Expression
sdgsdf
Description
dfgdfg
Matches
dfgdfg
Non-Matches
dfgdfg
Author Rating: Not yet rated. erik
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 />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ "(?=(.*[\d]){" + minNumeric.ToString() + ",})"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;... <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ ".{" + 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: The rating for this expression. Chris Stead
Title Test Details Date With Slashes
Expression
^\d{1,2}\/\d{1,2}\/\d{4}$
Description
This regular expressions matches dates of the form XX/XX/YYYY where XX can be 1 or 2 digits long and YYYY is always 4 digits long
Matches
4/1/2001 | 12/12/2001 | 55/5/3434
Non-Matches
1/1/01 | 12 Jan 01 | 1-1-2001
Author Rating: Not yet rated. Khushbu Reddy
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: The rating for this expression. Kenneth Kalmer
Title Test Details URL Validation
Expression
(((ht|f)tp(s?))\://)?(\bw{3}[^w]\b)?[^w{4}][^\@]([0-9a-zA-Z\-]+\.)+[a-zA-Z]{2,6}(\:[0-9]+)?(/\S*)?
Description
This is a modification to an existing Regular Expression I had that was modified to cater for things like wwww., travel.url.com, url.com/travel, .com.au, and others.
Matches
http://www.url.com|www.url.com|www.url.com/dominos.asp|url.com|www.url.com.au|www.url.travel|travel.url.com
Non-Matches
wwww.url.com|rob@url.com | http://wwww.url.com|http://www.w
Author Rating: Not yet rated. Robin Gardner
Title Test Details Whitespace (a space or tab)
Expression
[\t ]+
Description
Whitespace (a space or tab) . From http://tools.twainscanning.com/getmyregex .
Matches
space | tab
Non-Matches
line break
Author Rating: Not yet rated. JimmiePerkins
Title Test Details Whitespace (a space, tab or line break)
Expression
[\s]+
Description
Whitespace (a space, tab or line break) . From http://tools.twainscanning.com/getmyregex .
Matches
space | tab
Non-Matches
12345
Author Rating: Not yet rated. JimmiePerkins
Title Test Details Word 5-letter word (TWAIN forum)
Expression
[A-Za-z]{5}
Description
Word 5-letter word (TWAIN forum) . From http://tools.twainscanning.com/getmyregex .
Matches
TWAIN | forum
Non-Matches
test
Author Rating: Not yet rated. JimmiePerkins
Change page:   |    Displaying page 412 of 413 pages; Items 8221 to 8240

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