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

Change page:   |    Displaying page 27 of 38 pages; Items 2601 to 2700
Title Test Details Get Plain Text From Html (Remove Html Tags)
Expression
<[^>]*>
Description
This Regex Will Remove All Html Tags And Return Simple Plain Text . For Example In C#.NET : Regex.Replace(Html, "<[^>]*>", string.Empty);
Matches
<p> Hello Ali Delshad </p>
Non-Matches
Hello Ali Delshad
Author Rating: The rating for this expression. Ali Delshad
Title Test Details Check Farsi Unicode Character
Expression
[\u0600-\u06FF]
Description
This Regex chceck an input string for persian unicode character Note that it not work in javascript For Example In C#.NET: Regex.IsMatch(Text, "[\u0600-\u06FF]");
Matches
سلام | hello علی | Hi 2 سلام
Non-Matches
Hello | Ali | 123
Author Rating: The rating for this expression. Ali Delshad
Title Test Details Pattern Title
Expression
^([0-1])*$
Description
Expression validating a Binary string of any length
Matches
10101000 | 01010000 | 100000001
Non-Matches
01000200 | 00021000 | e10000000
Author Rating: The rating for this expression. Cliff Wagner
Title Test Details Pattern Title
Expression
^([0-7])*$
Description
Expression validating a octal string of any length.
Matches
1357 | 445005 | 101
Non-Matches
900508 | 7FFF | 599D
Author Rating: The rating for this expression. Cliff Wagner
Title Test Details Pattern Title
Expression
^([0-9a-fA-F]){8}$
Description
Hex number/string validation method for the Electronic Serial Number(ESN) used in Cellular Phone products.
Matches
8ECCA04F | 82E5AAA4 | 82e5aaa4
Non-Matches
8ECCAOF | 82E5AA4 | 82e5aaa45
Author Rating: The rating for this expression. Cliff Wagner
Title Test Details Pattern Title
Expression
^([0-9a-fA-F])*$
Description
Expression validating a hex string of any length.
Matches
1E3 | 82E5AAA4 | 01ff
Non-Matches
1g3 | 4Z | 01x
Author Rating: The rating for this expression. Cliff Wagner
Title Test Details Pattern Title
Expression
^(\$|R\$|\-\$|\-R\$|\$\-|R\$\-|-)?([0-9]{1}[0-9]{0,2}(\.[0-9]{3})*(\,[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\,[0-9]{0,2})?|0(\,[0-9]{0,2})?|(\,[0-9]{1,2})?)$
Description
This is a regex for Brazilian Reais, that can be transformed to another currencies. The main modification is the exchange of . and , plus the addition of the R matching R$.
Matches
R$1500,00 | -1.500,00 | -$5,5
Non-Matches
$ 1500.00 | 5.5 | -$6,666,3333.00
Author Rating: Not yet rated. Daniel Azevdo Marques
Title Test Details Email
Expression
^[a-z0-9,!#\$%&'\*\+/=\?\^_`\{\|}~-]+(\.[a-z0-9,!#\$%&'\*\+/=\?\^_`\{\|}~-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.([a-z]{2,})$
Description
Validates rfc2822 for the mostpart
Matches
fred&barney@stonehenge.com
Non-Matches
fred&barney@@stonehenge.com
Author Rating: Not yet rated. Donald Burr
Title Test Details U.S. Street Address
Expression
/(?:(?<=^)|(?<=[;:.,|][ ])|(?<=[[('"]))(?:[)]?P\.?O\.?(?:(?i)[ ]?Box)?[ ]{0,2}(?<PO>\d{1,5})[)]?|(?<HouseNumber>(?>(?:(?<NumberException>(?:19[789]|20[0123])\d)|\d+?(?:[-\\\/]\d{1,3})?)(?=(?:[;,]|[-\\\/]?[A-Za-z]\d?)?\s)))(?:(?<DoorSide>[-\\\/]?[A-Za-z]\d{0,2}))?,?\s{0,2}(?>(?:(?:^|[ ]{1,2})(?<StreetPrefix>AU|EI?|GR|H[AW]|JO|K|M[AEM]|N[EOW]?|O[HLMV]|RD|S[EW]?|TE|W)\b)?)(?:(?:^|[ ]{1,2})(?<StreetName>(?:\p{Lu}[-'\p{L}]*?(?:\.?[ ]{1,2}\p{Lu}[-'\p{L}]*?){0,8}?(?>(?<StreetNameIndicator>(?i)BOULEVARD|PLAZA|ROAD|STR(?:ASSE|EET)|WA(?:LK|Y))?)|(?<StreetOrdinal>\d{1,3}(?:[. ]?(?:°|st|[nr]d|th))))\b))(?:(?:(?>[ ]{1,2}(?i)(?<StreetType>A(?:C(?:CESS|RES)|LLEY|NX|PPROACH|R(?:CADE|TERY)|VE(?:NUE)?)|B(?:A(?:NK|SIN|Y)|CH|E(?:ACH|ND)|L(?:DG|VD)?|O(?:ULEVARD|ARDWALK|WL)|R(?:ACE|AE|EAK|IDGE|O(?:ADWAY|OK|W))?|YPASS)|C(?:A(?:NAL|USEWAY)|ENTRE(?:WAY)?|H(?:A(?:NN?EL|SE)?)?|I(?:R(?:C(?:LET?|U(?:IT|S)))?)?|L(?:B|OSE)?|O(?:MMON|NCOURSE|OP|PSE|R(?:[DK]|NER|S[OT])|UR(?:[VS]E|T(?:YARD)?)|VE)?|R(?:ES(?:CENT|T)?|IEF|OSS(?:ING)?)|T[RS]?|U(?:LDESAC|RVE)|V)|D(?:ALE|EVIATION|I[PV]|M|OWNS|R(?:IVE(?:WAY)?)?)|E(?:ASEMENT|DGE|LBOW|N(?:D|TRANCE)|S(?:PLANADE|T(?:ATE|S))|X(?:P(?:(?:(?:RESS)?WA)?Y)|T(?:ENSION)?))|F(?:AIRWAY|I(?:ELDS?|RETRAIL)|L(?:DS?|S)|O(?:LLOW|R(?:D|MATION))|R(?:D|EEWAY|ONT(?:AGE|ROAD)?))|G(?:A(?:P|RDENS?|TE(?:S|WAY)?)|L(?:ADE|EN)|R(?:ANGE|EEN|O(?:UND|V(?:ET?)?))?)|H(?:AVEN|BR|E(?:ATH|IGHTS)|I(?:GHWAY|LL)|L|OUSE|TS|UB|WY)|I(?:NTER(?:CHANGE)?|SLAND)|J(?:C|UNCTION)|K(?:EY|NOLL)|L(?:A(?:NE(?:WAY)?)?|DG|IN(?:E|K)|N|O(?:O(?:KOUT|P)|WER)?)|M(?:A(?:LL)?|DWS?|E(?:A(?:D|NDER)|WS)|L|NR|OT(?:EL|ORWAY))|NO(?:OK)?|O(?:L|UTLOOK|V(?:ERPASS)?)|P(?:A(?:R(?:ADE|K(?:LANDS|WAY)?)|SS|TH(?:WAY)?)?|DE|I(?:ER|[KN]E)|KW?Y|L(?:A(?:CE|ZA)|Z)?|O(?:CKET|INT|RT)|RO(?:MENADE|PERTY)|T|URSUIT)?|QUA(?:D(?:RANT)?|YS?)|R(?:A?(?:MBLE|NCH)|DG?|E(?:ACH|S(?:ERVE|T)|T(?:REAT|URN))|I(?:D(?:E|GE)|NG|S(?:E|ING))|O(?:AD(?:WAY)?|TARY|U(?:ND|TE)|W)|R|UN)|S(?:CH|(?:ER(?:VICE)?WAY)|IDING|LOPE|MT|P(?:PGS|UR)|Q(?:UARE)?|T(?:A(?:TE)?|CT|EPS|HY|PL|RAND|R(?:EET|IP)|TER)?|UBWAY)|T(?:ARN|CE|E(?:R(?:RACE)?)?|HRO(?:UGHWAY|WAY)|O(?:LLWAY|P|R)|R(?:A(?:CK|IL)|FY|L)?|URN)|UN(?:DERPASS|IV)?|V(?:AL(?:E|LEY)|I(?:EW|S(?:TA)?)?|L(?:GS?|Y))|W(?:A(?:L[KL](?:WAY)?|Y)|HARF|YND)|XING)\b\.?){1,2})??(?>(?:[ ]{1,2}(?<StreetSuffix>E|N[EW]?|S[EW]?|W)\b)?))(?:(?:^|[ ]{1,2}|[;,.]\s{0,2}?)(?i)(?<Apt>(?:[#]?\d{1,5}(?:[. ]{0,2}(?:°|st|[nr]d|th))?[;,. ]{0,2})?(?:(?:(?>(?:A|DE)P(?:AR)?T(?:MENT)?S?|B(?:UI)?LD(?:IN)?G?|FL(?:(?:OO)?R)?|HA?NGS?R|LOT|PIER|RM|S(LIP|PC|T(E|OP))|TRLR|UNIT|(?=[#]))(?:[ ]{1,2}[#]?\w{1,5})??|BA?SE?ME?N?T|FRO?NT|LO?BBY|LOWE?R|OF(?:C|FICE)|P\.?H|REAR|SIDE|UPPR)){1,3}(?:[#;,. ]{1,3}(?:[-.]?[A-Z\d]){1,3})?)[;,.]?)?)(?<CityState>[-;,.[(]?\s{1,4}(?<City>[A-Z][A-Za-z]{1,16}[.]?(?:[- ](?:[A-Z][A-Za-z]{0,16}|[a-z]{1,3})(?:(?:[- ][A-Za-z]{1,17}){1,7})?)?)(?<!\s[ACDF-IK-PR-W][AC-EHI-PR-Z])[)]?(?>(?<State>[-;,.]?\s{1,4}[[(]?(?<StateAbbr>A[LKSZRAP]|C[AOT]|D[EC]|F[LM]|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEHINOPST]|N[CDEHJMVY]|O[HKR]|P[ARW]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])\b[])]?|[-;,.]\s{0,3}[ ][[(]?(?=[A-Z])(?<StateName>(?i)Ala(?:bam+a|[sz]ka)|Ari[sz]ona|Arkan[sz]as|California|Colorado|Con+ec?t+icut+|Delaw[ae]re?|Flori?da|Georgia|Haw+ai+|Idaho|Ill?inois|Indiana|Iowa|Kansas|Kentu[ck]+[iy]|Louis+ian+a|Ma(?:ine|r[iy]land|s+achuset+s)|Mi(?:chigan|n+es+ot+a|s+is+ip+i|s+ouri)|Montana|Ne(?:bra[sz]ka|vada|w[ ]?(?:Hamp?shire|Jerse[iy]|Mexico|York))|[NS](?:o[ru]th|[.])[ ]?(?:Carolina|Dakota)|Ohio|Oklahoma|Oregon|Pen+s[iy]lvan+[iy]a|Rh?oa?de?[ ]?Island|Ten+es+e+|Texas|Ut+ah?|Vermont|Washington|(?:W(?:est|[.])?[ ]?)?Virginia|Wi[sz]cou?nsin|W[iy]om[iy]+ng?)[])]?)?)(?(State)|(?:(?<=[)])|(?! [A-Z]))))?(?>(?:[-;,.\s]{0,4}(?:^|[ ]{1,2})[[(]?(?<ZipCode>(?!0{5})\d{5}(?:-\d{4})?)[])]?)?)(?(State)|(?(ZipCode)|(?(City)(?!)|(?(PO)|(?(NumberException)(?!)|(?(StreetNameIndicator)|(?(StreetType)|(?(StreetPrefix)|(?!)))))))))(?=[]).?!'"\s]|$)(?![ ]+\d)/gmx
Description
Parse and validate Street Addresses. It works in PCRE and .net.
Matches
54a Lakeview Rd | P.O. Box 12345 Los Angeles, CA 12304 | 101, 5th St. N | 123 Anywhere Dr. apt #99 Somewhere, AR 55789 | 6806 5th Ave NW Apt. 12B, Bradenton, FL 34209
Non-Matches
123 Street City, ST 00000 | 2015 Best Street Name Parser | 123 Street City, ST 00000
Author Rating: The rating for this expression. Mariano M
Title Test Details Pattern Title
Expression
^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?$
Description
Remi provided an example that would match all domain names (http://www.regexlib.com/REDetails.aspx?regexp_id=391). I'm adding it so that it can be tested.
Matches
3com.com | this.is.a.museum | mail
Non-Matches
notadomain-.com | -helloworld.c- | .oops.org
Author Rating: Not yet rated. Mark Salisbury
Title Test Details Latin chars and letter
Expression
^([a-zA-ZáéíóúàèìòùãõâêîôûüïçÁÉÍÓÚÀÈÌÒÙÂÊÎÔÛÃÕÜÏÇ£¢$#,.ºª°\s/-[0-9]]){1,40}$
Description
Esta expressão permite a entrada de nomes compostos com quaisquer letras (incluindo acentos), espaços, alguns símbolos gráfcos, com comprimento entre 1 e 40 posições, mas bloqueia números. Útil para validação prévia de denominações em geral, como nomes de ruas, bairros, produtos etc.
Matches
Rua XV de Novembro
Non-Matches
Rua 15 de Novembro
Author Rating: Not yet rated. José Luís de Oliveira Santos
Title Test Details VTU Register number
Expression
@"^\d[a-zA-Z]\w{1}\d{2}[a-zA-Z]\w{1}\d{3}$"
Description
Regular exp to match the VTU USN
Matches
3gn01cs009, 4PD09EC016
Non-Matches
gn000cde09
Author Rating: Not yet rated. Channveer Patil
Title Test Details String starting with number
Expression
@"^\d[a-zA-Z0-9]+$"
Description
Matches a string starting with numeric digit
Matches
2ab,3abc,2sgdhdj009
Non-Matches
aab,abc009
Author Rating: Not yet rated. Channveer Patil
Title Test Details Date Format(dd/mm/yyyy)
Expression
((\d{4})|(\d{2}))|(0?[2469]|11)(-|\/)((0[0-9])|([12])([0-9]?)|(3[0]?))(-|\/)((0?[13578]|10|12)(-|\/)((0[0-9])|([12])([0-9]?)|(3[01]?))(-|\/)((\d{4}|\d{2})))
Description
dd/mm/yyyy
Matches
12/12/2012,23/01/2020,10-12-2010
Non-Matches
12/13/2012,13/20/2010
Author Rating: Not yet rated. Akshay Mishra
Title Test Details Croatian National Bank (HNB) Exchange Rates List body record pattern
Expression
(?<currency_no>\d\d\d)(?<currency_code>\w\w\w)(?<parity>\d\d\d)(?<ask_price>\s+\d+\,\d+)(?<average_price>\s+\d+\,\d+)(?<bid_price>\s+\d+\,\d+)
Description
Parses body on Croatian National Bank (HNB) Echange rates formated record
Matches
036AUD001 5,018783 5,033885 5,048987
Non-Matches
036 AUD 001 5.018783 5.033885 5.048987
Author Rating: The rating for this expression. Ivan
Title Test Details Croatian National Bank (HNB) Exchange Rates List heading record pattern
Expression
(?<list_no>\d\d\d)(?<date_created_dd>\d\d)(?<date_created_mm>\d\d)(?<date_created_yyyy>\d\d\d\d)(?<date_applicable_dd>\d\d)(?<date_applicable_mm>\d\d)(?<date_applicable_yyyy>\d\d\d\d)(?<records_count>\d+)
Description
Parses heading record of HNB's Exchange rates formated list
Matches
037210220142202201413
Non-Matches
O37210220142202201413
Author Rating: The rating for this expression. Ivan
Title Test Details Validation of Mexican RFC for tax payers (individuals)
Expression
Validation of Mexican RFC for tax payers (individuals)
Description
This is the expression to validate the personal key for tax payers in Mexico (called RFC) as individuals (not for enterprises).
Matches
TERJ561231|TERJ561231WE3|TERJ561231789|TERJ5612311H1|TERJ561231REV
Non-Matches
terj561232|TERJ561231ef5|terj5612313h3
Author Rating: Not yet rated. Julio César Plascencia
Title Test Details Pattern Title
Expression
^([0-9a-zA-Z]+[-._+&amp;])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}$
Description
A short and sweet email address validator. Checks that the username starts and ends with an alphanumeric character, allows a few non-repeating 'special characters' (namely -, ., _, +, &amp;) and checks for a sensible domain name (2-6 character TLD required). Some unconventional, yet technically valid, addresses will not be matched, but this is only a simple expression ;-)
Matches
test@test.com | nerdy.one@science.museum | ready&amp;set@go.com.au
Non-Matches
.test.@test.com | spammer@[203.12.145.68] | bla@bla
Author Rating: The rating for this expression. Luke Arms
Title Test Details Pattern Title
Expression
^((ht|f)tp(s?))\://([0-9a-zA-Z\-]+\.)+[a-zA-Z]{2,6}(\:[0-9]+)?(/\S*)?$
Description
Simple URL Validator -- allows http, https, ftp, ftps, 2-6 letter TLD, ports, any path. Sorry, no IP addresses. Not too fussy, but then, it's not too long either ;-)
Matches
http://www.site.com | https://www.secure.com:10000 | ftp://ftp.site.com/pub/files/
Non-Matches
www.site.com | https://www.site.longtld | ftp:/badformat.com
Author Rating: The rating for this expression. Luke Arms
Title Test Details YouTube Video Link Verifier + ID puller
Expression
(?:[hH][tT]{2}[pP][sS]{0,1}:\/\/)?[wW]{0,3}\.{0,1}[yY][oO][uU][tT][uU](?:\.[bB][eE]|[bB][eE]\.[cC][oO][mM])?\/(?:(?:[wW][aA][tT][cC][hH])?(?:\/)?\?(?:.*)?[vV]=([a-zA-Z0-9--]+).*|([A-Za-z0-9--]+))
Description
Verifies YouTube video links AND pulls the video ID from them in a matching group. Works with all capitalizations. It also matches the WHOLE link but sorts the video ID into a group. Works with JavaScript, PHP and Python. (Not tested with any other Regex engine) WARNING: youtu.be links have their ID group as the second group.
Matches
http://www.youtube.com/watch?v=something | https://www.youtube.com/watch?v=something | http://youtu.BE/something | https://www.YOUTUBE.com/watch?en=gb&vari=abc&v=something&another=yes
Non-Matches
http://www.anothersite.com/watch?v=something | http://www.youtube.com/wat?v=something
Author Rating: The rating for this expression. Billy Venner
Title Test Details UAE Mobile No
Expression
^(\+971[\s]{0,1}[\-]{0,1}[\s]{0,1}|[\s]{0,1}0)(5[056]{1})[\s]{0,1}[\-]{0,1}[\s]{0,1}[1-9]{1}[0-9]{6}$
Description
Validate UAE Mobile Numbers 050,055,056 with/without country code.
Matches
+971503667367 | +971 555563210 | 0561211210
Non-Matches
+971 0503667367 | +9710561211210 | 041211210 | 05551211210
Author Rating: The rating for this expression. Mohammed Hamed
Title Test Details Pattern Title
Expression
(\d{6}[-\s]?\d{12})|(\d{4}[-\s]?\d{4}[-\s]?\d{4}[-\s]?\d{4})
Description
Credit card validator Works for switch card numbers too Switch card bit is (\d{6}[-\s]?\d{12}) Credit card bit is (\d{4}[-\s]?\d{4}[-\s]?\d{4}[-\s]?\d{4}) I use this as a client side test before running a more comprehensive server side check.
Matches
5111 1111 1111 11118 | 1234123412341324 | 123456 123456789012
Non-Matches
511a 1111 1111 11118
Author Rating: Not yet rated. Joe Gass
Title Test Details Pattern Title
Expression
(\s*\(?0\d{4}\)?\s*\d{6}\s*)|(\s*\(?0\d{3}\)?\s*\d{3}\s*\d{4}\s*)
Description
UK Phone Number Allows leading and trailing spaces and optional spaces after the dialing code. Initially the expression I posted was \s*0\d{4}\s*\d{6}\s*|\s*0\d{3}\s*\d{7}\s* But this didn't include optional brackets e.g. (01603) 123123 or phone numbers in a London format e.g. 0208 123 1234
Matches
01603 123123 | 0207 1234567 | (0208) 123 1234
Non-Matches
123 123132
Author Rating: Not yet rated. Joe Gass
Title Test Details header 2 anchor
Expression
"{(<h)([1-6])(.id=\")(.+?\")(.+?)(</h[1-6])}",'\\2~<a href="#\\4\\5</a'
Description
Easy way to transform header tag to its local referer. I use it to make TOC after reading headers.<br><b> &lt;h# id="identifier"&gt;Caption&lt;/h#&gt; -&gt; #~&lt;a href="#identifier"&gt;Caption&lt;/a&gt; </b><br>There is stored original heading's level in output.
Matches
&lt;h1 id="tag"&gt;Caption&lt;/h1&gt;
Non-Matches
&lt;H1 id="tag"&gt;Caption&lt;/H1&gt;
Author Rating: Not yet rated. Nocturnator
Title Test Details Pattern Title
Expression
^(\$)?(\s)?(\-)?((\d+)|(\d{1,3})(\,\d{3})*)(\.\d{2,})?$
Description
Allows either inclusion of $ symbol or not. Allows a whitespace character after the $ sysmbol or not. Allows a negative symbol in front of the starting digit or not. Allows comma separators at thousands, but nowhere else. Allows more than two decimal places.
Matches
$1,000.00 | $-1,000.00 | 100.8766
Non-Matches
$1a | $#100.00 | 1,00.00
Author Rating: Not yet rated. Ron Allen
Title Test Details Telephone number
Expression
dsfs
Description
lütfen düzgün girin
Matches
5078840394
Non-Matches
12325415
Author Rating: Not yet rated. eda bulut ağırman
Title Test Details ip address from 0.0.0.0-255.255.255.255
Expression
regexp {[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+}
Description
all ip address should be accepted within this range 0-255
Matches
192.168.10.10
Non-Matches
256.256.256.256
Author Rating: The rating for this expression. rejina
Title Test Details Individual Taxpayer Identification Number (ITIN)
Expression
^(9\d{2})([ \-]?)([7]\d|8[0-8])([ \-]?)(\d{4})$
Description
U.S. Individual Taxpayer Identification Number (ITIN) as defined in December 2006. The valid range is 900-70-0000 through 999-88-9999, all numeric values. This regular expression will accept anything in this range with space, dash or no separators.
Matches
900700000 | 900 70 0000 | 900-70-0000
Non-Matches
899700000 | |900-89-0000 | 900-69-0000
Author Rating: The rating for this expression. Robert Sewell
Title Test Details Pattern Title
Expression
/\*((?!\*/)[\d\D\s])*\*/
Description
Matches /* style comments */. Matches whitespace (so can detect tabs, etc.) Problems with nested comments.
Matches
/* CSS comments */ | /* multi-line SQL/CSS/Etc comments */
Non-Matches
&lt;!-- doesn't match --&gt; | -- won't match and //won't match
Author Rating: Not yet rated. Mike Campbell
Title Test Details Danish phone number
Expression
((^\d{8})|(^\d{2}[ ]\d{2}[ ]\d{2}[ ]\d{2})|(^\d{4}[ ]\d{4}))$
Description
A Danish phone number can be written in three ways (if you don't include the country code +45). Either one block of 8 digits or two blocks of four digits or four blocks of two digits.
Matches
12345678 | 1234 5678 | 12 34 56 78
Non-Matches
123 456 78 | 12 3456 78 | 1 23 45 67 8 | 55 ab 66 xy
Author Rating: Not yet rated. Liza Overgaard
Title Test Details SKK-STRING-Parse Comma Delimited Strings
Expression
^(?<field1>[^,]+),(?<field2>[^,]+),(?<field3>[^,]+)$
Description
Parse Comma Delimited Strings ---------------------- http://regexlib.com/REDetails.aspx?regexp_id=538
Matches
A,B,C
Non-Matches
???
Author Rating: Not yet rated. skk
Title Test Details SKK-XML-All child nodes with no nested nodes
Expression
<(\w+)(\s(\w*=".*?")?)*((/>)|((/*?)>.*?</\1>))
Description
All child nodes with no nested nodes ---------------------- http://regexlib.com/REDetails.aspx?regexp_id=433
Matches
a
Non-Matches
b
Author Rating: Not yet rated. skk
Title Test Details File Path
Expression
("(([a-zA-Z]:)|(\\\\[^/\\:\*\?""<>\|]+(\\[a-zA-Z]\$)?))\\([^/\\:\*\?""<>\|]+\\)*[^/\\:\*\?""<>\|]+(\.[^/\\:\*\?""<>\|]+[^/\\:\*\?""<>\|\s])?")|((([a-zA-Z]:)|(\\\\[^/\\:\*\?""<>\|\s]+(\\[a-zA-Z]\$)?))\\([^/\\:\*\?""<>\|\s]+\\)*[^/\\:\*\?""<>\|\s]+(\.[a-zA-Z0-9]+)?)
Description
Matches full windows paths and UNC paths (allowing spaces in quoted text). For non quoted text, the extension of the file must be alphanumeric.
Matches
C:\test_for_spaces\test_extension | C:\test_for_spaces\test_extension.t92 | "C:\test for spaces\New Text Document.txt" | \\machine1\shared_2\hello_world.txt | "\\machine1\c$\shared 4\hello world.txt"
Non-Matches
"\\machine1\c$\test|pipe:colon.txt" | C:\random space\test.txt | C\\bad\test.t
Author Rating: Not yet rated. Ben C
Title Test Details Pattern Title
Expression
(^\+[0-9]{2}|^\+[0-9]{2}\(0\)|^\(\+[0-9]{2}\)\(0\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\-\s]{10}$)
Description
Regular expression to evaluate dutch-style phone numbers. Possible example prefixes: +31, +31(0), (+31)(0), 0, 0031 followed by 9 numbers (which can contain a space or -).
Matches
+31235256677 | +31(0)235256677 | 023-5256677
Non-Matches
+3123525667788999 | 3123525667788 | 232-2566778
Author Rating: Not yet rated. Jon van Leuven
Title Test Details Pattern Title
Expression
^[0-9]{4}\s{0,1}[a-zA-Z]{2}$
Description
Regular expression to evaluate dutch zipcodes. This is an updated version of Roland Mensenkamp.
Matches
2034AK | 2034 AK | 2034 ak
Non-Matches
2034 AK | 321321 AKSSAA
Author Rating: Not yet rated. Jon van Leuven
Title Test Details Email matcher
Expression
([^_.]([a-zA-Z0-9_]*[.]?[a-zA-Z0-9_]+[^_]){2})@([a-z0-9]+[.]([a-z]{2,3}|[a-z]{2,3}[.][a-z]{2,3}))
Description
This is a cleanup of Vijay Joshi's "Email" pattern. It matches the same characters that his does, but matches them anywhere in the line. It adds useful substitution groups -- [1] - username portion of email (before @), [3] domain portion of email - after the @. It also was a bit overly-complex, so I reduced this as well.. Remember -- if you're planning to use this with something that uses 1003.2 BREs, you'll have to backquote + | ? ( ) { and }.
Matches
vj.joe.hi@gmail.com
Non-Matches
.abc@xyz.com,_abc@xyz.com,ab.cd.ef.gh@xmail.com
Author Rating: Not yet rated. Kamaji
Title Test Details date mysql
Expression
^\[0-9]{4}\-\[0-9]{2}\-\[0-9]{2}$
Description
Validate date in mysql regexp.
Matches
2012-20-10, yyyy-mm-dd
Non-Matches
12-20-2012
Author Rating: Not yet rated. Razor Whiplash
Title Test Details Contact Yahoo support phone number UK
Expression
yahoo customer care service 0800 014 8055
Description
If you are facing any type of problems with your yahoo mail account like unable to sign in, recover yahoo forgot password, unable to restore yahoo old account and so on. if you wish to resolve all these problem with yahoo customer service number. You can contact yahoo support phone number for best instant yahoo technical help.
Matches
http://www.yahoohelp.co.uk
Non-Matches
yahoo help uk
Author Rating: Not yet rated. Tracey Wood
Title Test Details Pattern Title
Expression
(?:\d|I{1,3})?\s?\w{2,}\.?\s*\d{1,}\:\d{1,}-?,?\d{0,2}(?:,\d{0,2}){0,2}
Description
This RE validates standard Bible verse notation.
Matches
Genesis 3:3-4,6 | II Sam 2:11,2 | 2 Tim 3:16
Non-Matches
Genesis chap 3, verse 3 | 2nd Samuel 2
Author Rating: Not yet rated. Scott Kahler
Title Test Details Awesome US phone number matching
Expression
(?:\+?1[ .*-]?)?(?:\(? ?)?\d{3}(?: ?\)?)? ?(?:\*|(?:\.|-){1,2})? ?\d{3} ?(?:\*|(?:\.|-){1,2})? ?\d{4}
Description
This regex matches US phone number formats that I found to be commonly used. This regex is best used on scanning text. If html is present, strip out the html first.
Matches
5555555555 | 555 555 5555 | 555-555-5555 | (555-555-5555 | ( 555-555-5555 | 555) 555-5555 | 555 ) 555- 5555 | 555 ) 555-5555 | (555)555-5555 | (555) 555-5555 | (555) 555 5555 | (555) 555 - 5555 | (555) 555 -5555 | 555 - 555 - 5555 | (555)-555-5555 | 555 555-5555 | 555 -555-5555 | 555.555.5555 | 555-555.5555 | 555. 555.5555 | 555. 555. 5555 | 555*555*5555 | 15555555555 | 1 555 555 5555 | 1-555-555-5555 | 1.555-555-5555 | 1*555*555*5555 | +1 555 555 5555 | +1-555-555-5555 | +1 555-555-5555 | +1.555-555-5555 | +1.555.555.5555 | 1 (555) 555-5555 | +1 (555) 555-5555 | 1 5555555555 | 1.(555-555-555
Non-Matches
anything else
Author Rating: Not yet rated. Ray Solomon
Title Test Details packers and movers in gurgaon @ http://www.corporatemoversindia.com/
Expression
packers and movers
Description
We are amongst the most reputed companies in India providing you at your doorstep speedy, efficient, cost-effective and reliable movers packers services, relocation and related logistics services in different parts of the country. Our head office in Gurgaon, Corporate Office in Mumbai and branches in all major cities of India including Bangalore, hyrabad, Chennai, Kolkata, Guwahati, Nagpur, Ahmedabad, Surat, Noida, Faridabad, Punjab, Badodhra manages comprehensive packers and movers solutions to meet the transportation and relocation needs of our clients in different parts of country. Whether it’s a household move, office move or corporate relocation, we are packers and movers that focus on the customers’ needs.PLEASE CALL @ 9999167600,9711215215 Why Corporate Movers and Packers We provide an array of packers movers services ranging from Local Household Shifting, Residential & Commercial Relocation, Industrial Shifting, Freight Forwarding, Logistic Services, Car Carrier & Transportation, Truck Rentals, Warehousing and Storage services. Articles by movers and packers in gurgaon @ http://www.corporatemoversindia.com/ packers and movers in gurgaon @ http://www.corporatemoversindia.com/ packers movers in gurgaon @ http://www.corporatemoversindia.com/ packers movers gurgaon @ http://www.corporatemoversindia.com/ movers and packers gurgaon sector-56 @ http://www.corporatemoversindia.com/ packers and movers in gurgaon sector 55 @ http://www.corporatemoversindia.com/ packers & movers in gurgaon @ http://www.corporatemoversindia.com/ movers and packers gurgaon sector 54 @ http://www.corporatemoversindia.com/ packer and movers in gurgaon sector 53 @ http://www.corporatemoversindia.com/ movers packers in gurgaon sector 43 @ http://www.corporatemoversindia.com/ mover and packers in gurgaon sector 40 @ http://www.corporatemoversindia.com/ packers and mover gurgaon sector 41 @ http://www.corporatemoversindia.com/ gurgaon packers movers @ http://www.corporatemoversindia.com/ best packers and movers gurgaon @ http://www.corporatemoversindia.com/ local packers and movers gurgaon @ http://www.corporatemoversindia.com/ top 5 packers and movers in gurgaon @ http://www.corporatemoversindia.com/ packers and movers in gurgaon sector 44 @ http://www.corporatemoversindia.com/ mover and packer in gurgaon sector 45 @ http://www.corporatemoversindia.com/ gurgaon movers packers @ http://www.corporatemoversindia.com/ packers and movers services in gurgaon @ http://www.corporatemoversindia.com/ movers and packers gurgaon reviews @ http://www.corporatemoversindia.com/ car transportation in gurgaon@ http://www.corporatemoversindia.com/ car movers@ http://www.corporatemoversindia.com/ office shifting services in gurgaon@ http://www.corporatemoversindia.com/ car move gurgaon to Bangalore@ http://www.corporatemoversindia.com/ car movers in gurgaon@ http://www.corporatemoversindia.com/ local shifting services in gurgaon@ http://www.corporatemoversindia.com/ house shifting in gurgaon@ http://www.corporatemoversindia.com/ relocation services in gurgaon@ http://www.corporatemoversindia.com/ Packers And Movers Gurgaon@ http://corporatemoversindia.com/packersandmoversgurgaon.php Packers And Movers Noida @ http://corporatemoversindia.com/ Packers And Movers Ghaziabad@http://corporatemoversindia.com/ Packers And Movers Delhi@http://corporatemoversindia.com/ Packers And Movers Faridabad@http://corporatemoversindia.com/ Packers and Movers Manesar @ http://corporatemoversindia.com/ Packers And Movers Panipat @ http://corporatemoversindia.com/ Packers And Movers Ambala @ http://corporatemoversindia.com/ Packers and Movers Bhiwadi @ http://corporatemoversindia.com/ Packers And Movers Rohtak @ http://corporatemoversindia.com/ Packers And Movers Valsad @ http://corporatemoversindia.com/ Packers And Movers Daman @ http://corporatemoversindia.com/ Packers And Movers Ahmedabad @ http://corporatemoversindia.com/ Packers and movers Vadodara @ http://corporatemoversindia.com/ Packers And Movers Surat @ http://corporatemoversindia.com/ Packers And movers Bhuj @ http://corporatemoversindia.com/ Packers And Movers Gandhidham @ http://corporatemoversindia.com/ Packers And Movers Jamnagar @ http://corporatemoversindia.com/ Packers And Movers Sanand @ http://corporatemoversindia.com/ Packers And Movers Ankaleshwar @ http://corporatemoversindia.com/ Packers And Movers Bhavnagar @ http://corporatemoversindia.com/ Packers And Movers Hyderabad @ http://corporatemoversindia.com/ Packers And Movers Mumbai @ http://corporatemoversindia.com/ Packers And Movers Gurgaon@ http://corporatemoversindia.com/packersandmoversgurgaon.php Packers And Movers Noida @ http://corporatemoversindia.com/packersandmoversnoida.php Packers And Movers Ghaziabad@http://corporatemoversindia.com/packersandmoversghaziabad.php Packers And Movers Delhi@http://corporatemoversindia.com/packersandmoversdelhi.php Packers And Movers Faridabad@http://corporatemoversindia.com/packersandmoversfaridabad.php Packers and Movers Manesar @ http://corporatemoversindia.com/packersandmoversmanesar.php Packers And Movers Panipat @ http://corporatemoversindia.com/packersandmoverspanipat.php Packers And Movers Ambala @ http://corporatemoversindia.com/packersandmoversambala.php Packers and Movers Bhiwadi @ http://corporatemoversindia.com/packersandmoversbhiwadi.php Packers And Movers Rohtak @ http://corporatemoversindia.com/packersandmoversrohtak.php Packers And Movers Valsad @ http://corporatemoversindia.com/packersandmoversvalsad.php Packers And Movers Daman @ http://corporatemoversindia.com/packersandmoversdaman.php Packers And Movers Ahmedabad @ http://corporatemoversindia.com/packersandmoversahmedabad.php Packers and movers Vadodara @ http://corporatemoversindia.com/packersandmoversvadodara.php Packers And Movers Surat @ http://corporatemoversindia.com/packersandmoverssurat.php Packers And movers Bhuj @ http://corporatemoversindia.com/packersandmoversbhuj.php Packers And Movers Gandhidham @ http://corporatemoversindia.com/packersandmoversgandhidham.php Packers And Movers Jamnagar @ http://corporatemoversindia.com/packersandmoversjamnagar.php Packers And Movers Sanand @ http://corporatemoversindia.com/packersandmoverssanand.php Packers And Movers Ankaleshwar @ http://corporatemoversindia.com/packersandmoversankaleshwar.php Packers And Movers Bhavnagar @ http://corporatemoversindia.com/packersandmoversbhavnagar.php Packers And Movers Hyderabad @ http://corporatemoversindia.com/packersandmovershyderabad.php Packers And Movers Mumbai @ http://corporatemoversindia.com/packersandmoversmumbai.php
Matches
movers and packers
Non-Matches
packers and movers
Author Rating: Not yet rated. SebastianOi
Title Test Details Decimals and Integers with Negatives
Expression
(-?(\d*\.\d{1}?\d*|\d{1,}))
Description
Matches decimals and integer in efficient way with minimal grouping allowing you to get the match as a whole decimal/integar
Matches
123 | .75 | 123.212 | 123.12 | -.752 | -.75 | -.7 | -1 | 12 | -0.75 | 1 | 123 | 0.75 | 123.00
Non-Matches
123. | $123 | $123.00 | (123.0) | 1,234.00 | 123,23
Author Rating: The rating for this expression. Munim Abdul
Title Test Details Pattern Title
Expression
[0-9A-Za-z]
Description
ONLY PURE string and numric only
Matches
123ABCabc | abc123ABC | ABCabc123
Non-Matches
!@#$%^&* | ()_~`|\/?>.<,
Author Rating: Not yet rated. meet zorrer
Title Test Details Pattern Title
Expression
[^A-Za-z0-9]
Description
To detect non-alphanumeric characters (for new username/password validation, for instance): monkey(AT)greyledge.net 14-Oct-2003 11:26
Matches
!@#$ | %^&amp;* | '&gt;&lt;?.,&quot;
Non-Matches
ABC123abc | abc123ABC | abc0132ABC
Author Rating: The rating for this expression. meet zorrer
Title Test Details Pattern Title
Expression
[a-z0-9]{1,11}
Description
PHP/Perl based regular expression: find aplhanumeric only(alpha and numeric only) (string and numeric only) but it will not find the empty string as it has to find string between 1 to 11 length.
Matches
abc123ABC | 123ABCabc | abcABC123
Non-Matches
#$@%$ | <>?|" ' | _-+ =
Author Rating: Not yet rated. meet zorrer
Title Test Details Pattern Title
Expression
^([0-9]*\-?\ ?\/?[0-9]*)$
Description
Match italian telephone number with prefix followed by &quot;/&quot;, &quot;-&quot; or blank and number. Usefull with numeric keybord!
Matches
02-343536 | 02/343536 | 02 343536
Non-Matches
02a343536 | 02+343536
Author Rating: Not yet rated. Giorgio Spugnesi
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 email pattern basic
Expression
(^([A-Za-z])([-_.\dA-Za-z]{1,10})([\dA-Za-z]{1}))(@)(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})|(([\dA-Za-z{1}][-_.\dA-Za-z]{1,25})\.([A-Za-z]{2,4}))$)
Description
v allow Symbol [(_) (-) (DOT)] (number) (a-z and caps), X disallow symbol&number at begining (avoid bad sorting database, including bad subdomain name (1.example.com) & fake email) and ending (before "@") & other symbols are disallowed; username min,max/maxout = 2, 25/27 --- must exist "@" ---; after "@" : FOR DOMAIN NAME : v Symbol [(_) (-) (DOT)] (number) (a-z and caps), X symbol at begining and ending (including before top level domain extension) v a-z (with/out caps) total min=2 max 4 in top level domain extension NOT SUPPORTED PORT NUMBER, if you the administrator ? self edit the database, DONT give user a chance for adding port number. maximum 25 address length ; OR standard IP ADDRESS. WHITE SPACE IS NOT SUPPORTED.
Matches
abc45fgh90@abc.com | abc45fg.90@abc.com | xxxx@127.0.0.1 | | abc45fgh90@abc45.cx | abc45fgh90@abc45.cxx | abc45fgh90@abc45.cxxx | | abc45fgh90@abc45.com | abc45fgh90@abc45fgh90.com | abc45fgh90@abc45fgh90abc45fgh90.com | abc45fgh90@abc45fgh90.abc45fgh90.com
Non-Matches
@.com | a@a.com | 1@a.com | w1@a.com | 1w@test.com | wa@.com | | abc45fgh90@a.com | abc45fgh90@1b.com | abc45fgh90@ab.com | | abc45fgh90.@abc.com | abc45fg.90@@abc.com | | abc45fgh90@abc45. | abc45fgh90@abc45.c | abc45fgh90@abc45.c1x | | abc45fgh90@@abc45.com | abc45fgh90?@abc45.com | abc45fgh90@abc45#.com | abc45fgh90@abc45fgh90?.com | abc45fgh90@abc45fgh90..com | | blah@127.0.0 | blah@127.0.0. | blah@127.0.0.g |
Author Rating: Not yet rated. deviant2
Title Test Details Pattern Title
Expression
^1?[1-9]$|^[1-2]0$
Description
Matches a whole number between 1 and 20 inclusively
Matches
1 | 11 | 20
Non-Matches
0 | 21
Author Rating: Not yet rated. Daniel Pickles
Title Test Details Integers, with optional Commas and Sign
Expression
^[+-]?(?(\d{1,3},)(\d{1,3}(,\d{3})+)|\d+)$
Description
Matches integers (no decimal points), that may have an option +/- at the front, and may be grouped by comma every three digits.
Matches
1234 | 1,234 | -45,234 | +678,789
Non-Matches
1234,34 | 456,,123 | jen8,675,309ny
Author Rating: Not yet rated. Aaron
Title Test Details Chemical Elements symbols
Expression
^((?-i)A[cglmrstu]|B[aehikr]?|C[adeflmorsu]?|D[bsy]|E[rsu]|F[emf]?|G[ade]|H[efgos]?|I[nk]?|Kr?|L[airu]|M[dgnot]|N[abdeiop]|Os?|P[abdmortu]?|R[abefghnu]|S[bcegimnr]?|T[abcehil]|U(u[bhopqst])?|V|W|Xe|Yb?|Z[nr])$
Description
Chemical elements of the periodic table from 1 to 118.
Matches
Hg
Non-Matches
HE
Author Rating: Not yet rated. Guy Bruneau
Title Test Details http://dermaessencecreamblog.com/growth-factor-plus/
Expression
Weight Loss
Description
What happens if you turned yourself around and began delight in the journey going with the current and allowing it to need easily and effortlessly. Growth Factor Plus What could swimming downstream actually appear like for adhere to? Our thoughts are things! We all the results we focus on! We seem to accomplish what we don't want regarding what we really want. These are all ways simply as we can begin start swimming downstream. Read More Info:>>>>>>http://dermaessencecreamblog.com/growth-factor-plus/
Matches
fdg
Non-Matches
dg
Author Rating: Not yet rated. Dan Hicks
Title Test Details Phone
Expression
^(\+{1,2}?([0-9]{2,4}|\([0-9]{2,4}\))?(-|\s)?)?[0-9]{2,3}(-|\s)?[0-9\-]{5,10}$
Description
Detect most pattern of universal phone numbers
Matches
+(934)-50-1234567
Non-Matches
-94-567834
Author Rating: Not yet rated. Nir
Title Test Details Fastmail customer service
Expression
fastmail customer service provide instant help for fastmail user at fastmail customer care phone number
Description
Fastmail is a web based email account that is being used as a premier support sources for its entire users. This web mail account is highly used through number of users around the world in order to share and receive emails at ease. At the meantime if user face any of technical issue then this web mail account is always gets ready to help out diverse users while facing any technical issues as technician ask its email ID in order to subscribe Fastmail customer service to seek technical help ay time.
Matches
http://www.iteraa.com/fastmail-customer-service
Non-Matches
fastmail customer service
Author Rating: The rating for this expression. iteraa
Title Test Details Email address validation
Expression
^([+a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,6}|[0-9]{1,3})(\]?)$
Description
Checks if an email address is valid.
Matches
user.name_in_the-server+suffix@the.server-name.tld
Non-Matches
bad@address@server.tld
Author Rating: Not yet rated. Rafael de la Torre Consuegra
Title Test Details URL Validation
Expression
^(ftp|https?):\/\/([^:]+:[^@]*@)?([a-zA-Z0-9][-_a-zA-Z0-9]*\.)*([a-zA-Z0-9][-_a-zA-Z0-9]*){1}(:[0-9]+)?\/?(((\/|\[|\]|-|~|_|\.|:|[a-zA-Z0-9]|%[0-9a-fA-F]{2})*)\?((\/|\[|\]|-|~|_|\.|,|:|=||\{|\}|[a-zA-Z0-9]|%[0-9a-fA-F]{2})*\&?)*)?(#([-_.a-zA-Z0-9]|%[a-fA-F0-9]{2})*)?$
Description
This pattern can be used to validate URLs starting with ftp, http or https
Matches
https://user:password@subdomain.domain.tld:80/~user/a_1/b.2//c%203/file.extension?query=string&with=various&param_eters&and=param,eters&with[]=brackets&and:colons&uniqid={21EC2020-3AEA-1069-A2DD-08002B30309D}
Non-Matches
http://domain.....tld
Author Rating: Not yet rated. Rafael de la Torre Consuegra
Title Test Details IP Address validator
Expression
^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$
Description
Validates an IP Address. I use it in perl.
Matches
10.0.0.1, 192.168.1.1
Non-Matches
10.020.3.10, 10.1111.23.1, 192.168.1.15_1
Author Rating: Not yet rated. gansvv
Title Test Details date validations
Expression
date
Description
if (RadDatePicker1.SelectedDate == System.DateTime.Now.Date) { string strconnection; strconnection = ConfigurationSettings.AppSettings["ConnectionString"].ToString(); SqlConnection cn = new SqlConnection(strconnection); SqlCommand cmd = new SqlCommand("empattendancedetails", cn); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("@empid", SqlDbType.Int).Direction = ParameterDirection.Input; cmd.Parameters.Add("@date", SqlDbType.DateTime).Direction = ParameterDirection.Input; cmd.Parameters.Add("@intime", SqlDbType.DateTime).Direction = ParameterDirection.Input; cmd.Parameters.Add("@outtime", SqlDbType.DateTime).Direction = ParameterDirection.Input; cmd.Parameters["@empid"].Value = Session["loginid"]; cmd.Parameters["@date"].Value = RadDatePicker1.SelectedDate.ToString(); cmd.Parameters["@intime"].Value = RadTimePicker1.SelectedDate.ToString(); cmd.Parameters["@outtime"].Value = RadTimePicker2.SelectedDate.ToString(); cn.Open(); cmd.ExecuteNonQuery(); cn.Close(); Response.Write("Record Added."); } else Response.Write("enter todays date"); }
Matches
validation
Non-Matches
not validations
Author Rating: Not yet rated. vasireddyveenavani
Title Test Details examples on storedprocedures
Expression
getting username from empid
Description
LTER PROCEDURE [dbo].[usernamecheck] @username varchar(50), @loginID int = 0 OUTPUT AS SELECT @loginID = empid from emp WHERE username=@username if @@ROWCOUNT < 1 SELECT @loginID = 0 select @loginID
Matches
storedprocedures
Non-Matches
not stored procedures
Author Rating: Not yet rated. vasireddyveenavani
Title Test Details Full Date with Abbreviated Month
Expression
(?i)^((((0[1-9])|([12][0-9])|(3[01])) ((JAN)|(MAR)|(MAY)|(JUL)|(AUG)|(OCT)|(DEC)))|((((0[1-9])|([12][0-9])|(30)) ((APR)|(JUN)|(SEP)|(NOV)))|(((0[1-9])|([12][0-9])) FEB))) \d\d\d\d ((([0-1][0-9])|(2[0-3])):[0-5][0-9]:[0-5][0-9])$
Description
Validates datetimes in an internationally resilient form that is still readable by the average person.
Matches
01 JAN 2006 13:00:00
Non-Matches
31 FEB 10 03:00:00 PM
Author Rating: Not yet rated. Simon Gill
Title Test Details Pattern Title
Expression
(?mi:(?<=^(([^'"\n])|("[^"]*"))*[\t ])_(?=\s*$))
Description
looks for line concantenation character &quot;_&quot; in vb/vb.net source files. 1) It must be preceded by at least one space or tab. 2) It must be at the end of the line (okay if followed by whitespace) 3) And it must not be in commented code Used expression at http://www.regexlib.com/REDetails.aspx?regexp_id=371 for inspiration.
Matches
<XmlAttribute("xml-att")> _ | Sub WillGetThis() _ | "will ' get this" _
Non-Matches
' Won't get this _ | Sub wontGetThis()_ | "won't get this " _ "bad code"
Author Rating: Not yet rated. Christopher Strolia-Davis
Title Test Details The Most Complete URI & URL validator, for absolute & relative URLs
Expression
^((http(s){0,1}\:\/\/){0,1}([a-z|A-Z|0-9|\.|\-|_]){4,255}(\:\d{1,5}){0,1}){0,1}((\/([a-z|A-Z|0-9|\.|\-|_]|\%[A-F|a-f|0-9]{2}){1,255}){1,255}\/{0,1}){0,1}(|\/{0,1}\?[a-z|A-Z|0-9|\.|\-|_]{1,255}\=([a-z|A-Z|0-9|\.|\-|_|\+|\:]|\%[A-F|a-f|0-9]{2}|\&[a-z|A-Z]{2,12}\;){0,255}){0,1}((\&[a-z|A-Z|0-9|\.|\-|_]{1,255}\=([a-z|A-Z|0-9|\.|\-|_|\+|\:]|\%[A-F|a-f|0-9]{2}|\&[a-z|A-Z]{2,12}\;){0,255}){0,255})(\/{0,1}|\#([a-z|A-Z|0-9|\.|\-|_|\+|\:]|\%[A-F|a-f|0-9]{2}|\&[a-z|A-Z]{2,12}\;){0,255})$
Description
Validates completely for relative and absolute paths, and allows port definitions. Also contains parameter validation, and allows for anchors and URL escape characters.
Matches
http://www.google.com | https://sub.domain.com:8080/ok | mobi.yoursite.org/%e3498549843 | /relative_path/ok/home.aspx?id=4985&x=5
Non-Matches
http://site.com/?id=4095?x=485 | http://site.com:3098594 | www.site.org?p=this is wrong
Author Rating: The rating for this expression. Stuart Steedman
Title Test Details Amol
Expression
^[a-z]
Description
amol
Matches
234
Non-Matches
234
Author Rating: Not yet rated. StephenKemi
Title Test Details Pattern Title
Expression
(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&amp;:/~\+#]*[\w\-\@?^=%&amp;/~\+#])?
Description
*CORRECTED: Again thanks for all the comments below. If you want to include internal domain as well change the partial code (\.[\w-_]+)+ to (\.[\w-_]+)? See the comments below* This is the regular expression I use to add links in my email program. It also ignores those suppose-to-be commas/periods/colons at the end of the URL, like this sentence &quot;check out http://www.yahoo.com/.&quot; (the period will be ignored) Note that it requires some modification to match ones that dont start with http.
Matches
http://regxlib.com/Default.aspx | http://electronics.cnet.com/electronics/0-6342366-8-8994967-1.html
Non-Matches
www.yahoo.com
Author Rating: The rating for this expression. M H
Title Test Details 0.00 to 25.00
Expression
^(([0-9]|1[0-9]|2[0-4])(\.[0-9][0-9]?)?)$|([2][5](\.[0][0]?)?)$
Description
this is reg expression for 0.00 to 25.00
Matches
12 | 13.1 | 23.99 | 8.99 | 25.00
Non-Matches
26 | 25.01 | -2 | 8. |
Author Rating: Not yet rated. Sridhar
Title Test Details Pattern Title
Expression
(?<!\\)\"(?:[^\"]*(?<!\\)\\\")*[^\"]*\"
Description
Matches quoted strings. Do not use anchors or it will not work as expected
Matches
"" | "\\" | "\"" | "abcd" | "ab\"cd" | "abcd\\"
Non-Matches
"ab | ab" | "ab\" | \"ab" | \"ab\"cd"
Author Rating: The rating for this expression. Wesley Menezes
Title Test Details Pattern Title
Expression
^(?:(?<scheme>[a-z]+):\/\/)?(?:(?<usern>[a-z0-9_.]*)(?::(?<passw>[a-z0-9_.]*))?@)?(?<domain>(?:(?:[a-z][a-z0-9_-]+\.?)+|[0-9]{1,3}(?:\.[0-9]{1,3}){3}))(?::(?<port>[0-9]+))?(?<path>(?:\/[.%a-z0-9_]*)+)?(?:\?(?<query>(?:&?[][a-z0-9_]+(?:\=?[a-z0-9_;]*)?)+))?(?:#(?<fragment>[a-z0-9_]+))?$
Description
Matches URI's! "filename.ext" is part of path. ER can't differ file name from directory name. only domain is required. scheme://usern:passw@domain:port/path/file.ext?querystring#fragment
Matches
domain | ftp://localhost:21/ | 192.168.254.0 | http://username:password@www.domain.com:1234/path1/pathX/filename.ext?query=string&example=v1#fragment
Non-Matches
non-alpha://domain | domain:non-number
Author Rating: The rating for this expression. Wesley Menezes
Title Test Details Pattern Title
Expression
^\([0-9]{3}\)\s?[0-9]{3}(-|\s)?[0-9]{4}$|^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$
Description
US telephone check
Matches
1231231234 | (123)123-1234 | 123-123-1234
Non-Matches
12312312345 | (123)-123-1234 | 123
Author Rating: Not yet rated. PJ Bijoy
Title Test Details Images FileUpload Control
Expression
^.*([^\.][\.](([gG][iI][fF])|([Jj][pP][Gg])|([Jj][pP][Ee][Gg])|([Bb][mM][pP])|([Pp][nN][Gg])))
Description
By using this we can upload only images files. This is the simplest and its execution is fast.
Matches
D:\Documents and Settings\Administrator\Desktop\New Folder\60101-prep.png
Non-Matches
D:\Documents and Settings\Administrator\Desktop\New Folder\60101-prep.pdf
Author Rating: The rating for this expression. Gaurav Agrawal
Title Test Details 1 to 9999 Positive Numbers
Expression
^[1-9]{1}$|^[0-9]{1}[0-9]{1}[0-9]{1}[0-9]{1}$|^9999$
Description
This is only +ive numbers excluding 0. It takes 1 to 9999.
Matches
1, 123, 9465, 9999
Non-Matches
0, -1, -123, 99999
Author Rating: Not yet rated. Gaurav Agrawal
Title Test Details Indian Mobile numbers
Expression
^([9]{1})([234789]{1})([0-9]{8})$
Description
Its 10 digits Indian Mobile Number validation.
Matches
9829373514
Non-Matches
919829373514, 09829373514
Author Rating: The rating for this expression. Gaurav Agrawal
Title Test Details Numeric 0 to 29
Expression
^(([0-2])?([0-9]))$
Description
It is use for 0 to 29.
Matches
0 1 10 29
Non-Matches
30 -1
Author Rating: Not yet rated. Gaurav Agrawal
Title Test Details Date Format Regular Expression
Expression
^\d{2}\-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec|jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\-\d{4}$
Description
By using this you can validate your date string in (dd-MMM-yyyy) format.
Matches
23-Apr-1982 , 23-APR-1982
Non-Matches
23-04-1398
Author Rating: Not yet rated. Gaurav Agrawal
Title Test Details Date Grouped
Expression
(?<DATE>(?:(?:(?<year1>(?:1[89])|(?:[2468][048]|[3579][26]) (?!00))(?<year2>00|[02468][1235679]|[13579][01345789]) (?:(?:(?<month>(?:[0][13578])|(?:1[02])) (?<day>0[1-9]|[12][0-9]|3[01]))| (?:(?<month>0[469]|11)(?<day>0[1-9]|[12][0-9]|30))| (?:(?<month>02)(?<day>0[1-9]|1[0-9]|2[0-8])))| (?:(?:(?<year1>(?:[2468][048]|[3579][26])00)| (?<year1>(?:(?:1[89])|[2468][048]|[3579][26]) (?!00))(?<year2>[02468][048]|[13579][26])) (?:(?:(?<month>(?:(?:[0][13578])|(?:1[02]))) (?<day>0[1-9]|[12][0-9]|3[01]))| (?:(?<month>0[469]|11) (?<day>(?:0[1-9]|[12][0-9]|30)))| (?:(?<month>02)(?<day>0[1-9]|[12][0-9])))))))
Description
Test a date in the format of YYYYMMDD. and returns a match with the grouped date parts. The groups are: (example 20001101) DATE - 20011201 (the full date) year1- 20 (the century) year2- 01 (the year of the century) month- 12 (the month) day - 01 (the day of the month)
Matches
20010101 20000229 19960229 20010101 18101231
Non-Matches
19000229 19980229 20071131
Author Rating: Not yet rated. Raymond Roelands
Title Test Details Forgot Gmail Password Toll Free Number 1-866-293-8400
Expression
Gmail Customer Service 1-866-293-8400
Description
Whether you are in USA or in Canada, you should simply to simply dial the toll free Gmail Customer Service 1-866-293-8400 number and bring splendid arrangements without moving from your seat. The specialists connect with you and guarantee top of the line and quality results.
Matches
http://www.gmailcustomerservice.us/reset-gmail-forgot-password.php
Non-Matches
http://www.gmailcustomerservice.us
Author Rating: Not yet rated. Patrick Same
Title Test Details Pattern Title
Expression
^\-?[0-9]{1,3}(\,[0-9]{3})*(\.[0-9]+)?$|^[0-9]+(\.[0-9]+)?$
Description
Formatted Number with "," as thousand separator and "." as decimal separator. now accept numbers without separators of thousands.
Matches
10,000,000.123 | 3.14159265
Non-Matches
2.7,1828183
Author Rating: Not yet rated. German Gonzalez
Title Test Details Pattern Title
Expression
^\$?(\d{1,3},?(\d{3},?)*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{2})?)$
Description
Expression to handle US currency entry in .NET. Handy for regular expression validation controls where the user can be entering in a currancy value but you can't control explict entry values. Will accept a wide variety of values that can be easy cast to a double via the CDbl function. Expression is also compatible with default US string format for currency.
Matches
10000 | 10,000 | $1,000.00
Non-Matches
0.002 | x.0
Author Rating: Not yet rated. brent stineman
Title Test Details Pattern Title
Expression
^\d{0,2}(\.\d{1,4})? *%?$
Description
An expression for .NET regular expression validation controls intended to faciliate the entry of percentage values both a whole numbers or as their decimal representations. Also compatible with the default US format for string formatting for percentages. Recommend that if you intended accept a value passing this express that you strip the percentage signs and take measures to ensure that any whole values are converted to percentages.
Matches
4.0% | 0.45 | .0345
Non-Matches
123 | %12
Author Rating: Not yet rated. brent stineman
Title Test Details Pattern Title
Expression
(^\d*\.\d{2}$)
Description
If you need a textbox to allow only positive numbers with two decimal places, try this. I wanted the user to be able to enter any type of currency amount (US of course) but also have two decimal places for database field.
Matches
12.56 | 0.25 | 156.56
Non-Matches
-123.45 | 1.023 | 1.2
Author Rating: Not yet rated. Happy Jack
Title Test Details Pattern Title
Expression
^[a-zA-Z]:(\\|(\\[^\\/\s:*"<>|]+)+)>
Description
This pattern matches the windows console (cmd) prompt (also know as command prompt)
Matches
x:\dir> | x:\dir\another.dir> | x:\>
Non-Matches
x:\dir\> | x:\dir | \dir
Author Rating: The rating for this expression. Gustavo Guerra
Title Test Details Ultimate PO BOX finder
Expression
[p|P][\s]*[o|O][\s]*[b|B][\s]*[o|O][\s]*[x|X][\s]*[a-zA-Z0-9]*|\b[P|p]+(OST|ost|o|O)?\.?\s*[O|o|0]+(ffice|FFICE)?\.?\s*[B|b][O|o|0]?[X|x]+\.?\s+[#]?(\d+)*(\D+)*\b
Description
Modified version- to capture the PO BOX based on user input on the website - It will not include any Rural Route or any University Box
Matches
PO Box N,P O Box125,HC73 P.O. Box 217,P.O Box 0129,pobox123, P O Box124
Non-Matches
777 Post Oak Blvd,PSC 477 Box 396,RR 1 Box 1020
Author Rating: The rating for this expression. Senjaya Harianto
Title Test Details Urine Lab Specific Gravity Validator
Expression
(((^[>]?1.0)(\d)?(\d)?)|(^[<]?1.0(([1-9])|(\d[1-9])|([1-9]\d)))|(^[<]?1.4(0)?(0)?)|(^[<>]?1.(([123])(\d)?(\d)?)))$
Description
Range validator for urine lab panel specific gravity. The valid range is 1.000 to 1.400 inclusive. Sometimes < and > are used but not in the context of <1.000 nor >1.400. To 1, 2 or 3 decimals. Normal range is 1.003 to 1.03 but is left to the viewer.
Matches
>1.0 | <1.001 | >1.399
Non-Matches
>1.400 | 1. | 1.0011
Author Rating: Not yet rated. Michael
Title Test Details Pattern Title
Expression
(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|5)\d{15})|(^(6011)-?\d{4}-?\d{4}-?\d{4}|(6011)-?\d{12})|(^((3\d{3}))-\d{6}-\d{5}|^((3\d{14})))
Description
This provides an expression to calidate the four major credit cards. It can be easily broken up to use for a specific type of card. It does not validate the number being a potential real number, only in the correct format.
Matches
4111-1234-1234-1234 | 6011123412341234 | 3711-123456-12345
Non-Matches
1234567890123456 | 4111-123-1234-1234 | 412-1234-1234-1234
Author Rating: Not yet rated. Chris Love
Title Test Details UserId Validation
Expression
^(?=.*[a-zA-Z])[^\*\s]{4,8}$
Description
Validates a userID to be between 4 and 8 characters - no whitespace or asterisks and at least one alpha. ^(?=.*[a-zA-Z]) searches for one alpha [^\*\s] rejects all white space and asterisks {4,8} limits from 4-8 characters.
Matches
!@#a asdf 1234a
Non-Matches
!@#$* !@#4*a #$%a # asd 12345678a
Author Rating: Not yet rated. Nancy Blackwell
Title Test Details Almost RFC2822 Compliant Email Address Check
Expression
^(?:(?#local-part)(?#quoted)"[^\"]*"|(?#non-quoted)[a-z0-9&+_-](?:\.?[a-z0-9&+_-]+)*)@(?:(?#domain)(?#domain-name)[a-z0-9](?:[a-z0-9-]*[a-z0-9])*(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])*)*|(?#ip)(\[)?(?:[01]?\d?\d|2[0-4]\d|25[0-5])(?:\.(?:[01]?\d?\d|2[0-4]\d|25[0-5])){3}(?(1)\]|))$
Description
Validates an RFC 2822 email address, except does not allow most punctuation and non-ascii alphanumeric characters. Also does not take length requirements into account. Allows domain name and IP addresses, but ensures that the IP address entered is valid.
Matches
user@domain.com|user@127.0.0.1|user@[127.0.0.1]|user.id@domain-name.extension|"user"@domain.com
Non-Matches
userdomain.com|user@300.0.0.1|user@[127.0.0.1|.user@-domain-.com|user@"domain.com"
Author Rating: The rating for this expression. Daniel
Title Test Details Match fields in a csv row
Expression
(\"(?<word>[^\"]+|\"\")*\"|(?<word>[^,]*))
Description
This will match fields in a row of a csv file. Values can be double quoted or not. If a value is double quoted it can have commas inside it. Each value will be captured to word.
Matches
"test","test this",test, test,test ,"123,456.12"
Non-Matches
'te, st'
Author Rating: Not yet rated. jeremy chapman
Title Test Details US Phone Number
Expression
^(\{1}[2-9]{1}[0-9]{2}\){1}[ ]?[2-9]{1}[0-9]{2}(-| )?[0-9]{4}|[2-9]{1}[0-9]{2}[ ]{1}[2-9]{1}[0-9]{2}[ ]{1}[0-9]{4}|[2-9]{1}[0-9]{2}[2-9]{1}[0-9]{6}|[2-9]{1}[0-9]{2}-{1}[2-9]{1}[0-9]{2}-{1}[0-9]{4}){1}$
Description
This should be pretty complete phone number pattern. I use [0-9] when most people seem to use \d because it is easier for me to read.
Matches
(233) 233-0000,2332330000,233-233-0000,233 233 0000, etc.
Non-Matches
(233)-222-0000,(122)233-000, etc.
Author Rating: Not yet rated. Jon Turlington
Title Test Details First Given Name
Expression
^((Sir|Dr.|Mr.|Mrs.|Ms.|Rev.){1}[ ]?)?([A-Z]{1}[.]{1}([A-Z]{1}[.]{1})?|[A-Z]{1}[a-z]{1,}|[A-Z]{1}[a-z]{1,}[-]{1}[A-Z]{1}[a-z]{1,}|[A-Z]{1}[a-z]{0,}[ ]{1}[A-Z]{1}[a-z]{0,}){1}$
Description
This will allow to check to make sure the string is a First or Given Name and it can be initials and it can include a prefix.
Matches
Mr. Jon, Mr.Jon,Jon,J.D., J D, Mr. Jean-Guy etc.
Non-Matches
JD, Mr Jon, MrJon, etc.
Author Rating: The rating for this expression. Jon Turlington
Title Test Details Pattern Title
Expression
<[^>]*>
Description
HTML Pattern Matching PLEASE HELP /&lt;[^&gt;]*&gt;/ig The above pattern is only successful when html tag are simple (they don't include any javascript). This mean that the pattern will fail if something like this is within the tag &lt;input type=button value=test onclick='if(n.value&gt;5)do_this();'&gt;. It will not match the entire open n close sign. How do you write a pattern that will pass all these tag so that the pattern will match from the open to the close sign and not when it just see a &gt; within a '' or &quot;&quot;. &lt;input type=button onclick='if(n.value&gt;5)do_this();'&gt; not this &lt;br&gt; &lt;input type=button onclick=&quot;n&gt;5?a():b();&quot; value=test&gt; not this &lt;br&gt; &lt;input type=button onclick=&quot;n&gt;5?a(\&quot;OK\&quot;):b('Not Ok');&quot; value=test&gt; not this &lt;br&gt; &lt;input type=button onclick='n&gt;5' value=test onmouseover=&quot;n&lt;5&amp;&amp;n&gt;8&quot; onmouseout='if(n&gt;5)alert(\'True\');else alert(&quot;False&quot;)'&gt; not this &lt;br&gt; Any help would be greatly appreciate. Thanks a whole lot. Logan
Matches
<html>
Non-Matches
abc
Author Rating: The rating for this expression. Logan Tran
Title Test Details Pattern Title
Expression
&lt;(.*?)&gt;
Description
Can anyone help me with this problem? I want X to give me the correct index of &gt;. For example if this is my code: var MsgString=&quot;&lt;button onclick='4&gt;5?a():b();'&gt;&quot;; X=MsgString.search(/&gt;/ig); X will give me 18 instead of 30. How can I get it to ignore &gt; that are within quotes? Please help. I would really appreciate it if anybody could give me some advice. Thanks so much. -Logan
Matches
&lt;test a&gt;
Non-Matches
none
Author Rating: Not yet rated. Logan Tran
Title Test Details Pattern Title
Expression
^([0-9]{6}[\s\-]{1}[0-9]{12}|[0-9]{18})$
Description
This regular expression matches 'Switch' card numbers - a payment method used extensively in the UK.
Matches
000000 000000000000 | 000000-000000000000 | 000000000000000000
Non-Matches
000000_000000000000
Author Rating: Not yet rated. Scott Frampton
Title Test Details Currency validation
Expression
^(?!0\d)([0-9]{1,}(,[0-9]{2}))$
Description
No leading zeroes. Must have 2 digits after the decimal comma ','
Matches
0,00 | 12,34 | 2014,08
Non-Matches
00,00 | 12 | 12,3 |12,345 | 08,20
Author Rating: The rating for this expression. Alexander Ivanov
Title Test Details US Phone Number
Expression
(^[1-9]\d{2}\s*-\s*\d{3}\s*-\s*\d{4}$|^[2-9]\d{9}|^\x28\s*[2-9]\d{2}\s*\x29\s*\d{3}\s*-\s*\d{4}$)
Description
Matches properly formatted US phone numbers. Based on: http://regexlib.com/REDetails.aspx?regexp_id=22
Matches
2345678901 | (234) 567-8901 | 234-567-8901 | (234) 567-8901
Non-Matches
1234567890 | 2345678901 | 234 567 8901
Author Rating: Not yet rated. Seamus
Title Test Details Valid UK Post Codes Upper and Lower Case
Expression
^ ?(([BEGLMNSWbeglmnsw][0-9][0-9]?)|(([A-PR-UWYZa-pr-uwyz][A-HK-Ya-hk-y][0-9][0-9]?)|(([ENWenw][0-9][A-HJKSTUWa-hjkstuw])|([ENWenw][A-HK-Ya-hk-y][0-9][ABEHMNPRVWXYabehmnprvwxy])))) ?[0-9][ABD-HJLNP-UW-Zabd-hjlnp-uw-z]{2}$
Description
Matches valid UK post codes in both upper and lower case, allowing for one or zero spaces between outcode and incodes.
Matches
SW112LE | SW11 2LE | sw112le
Non-Matches
12CR0LE | 12CR 0LE | SWLE05
Author Rating: Not yet rated. Gareth Wright
Title Test Details Hexadecimal Colour
Expression
^#?(([a-fA-F0-9]{3}){1,2})$
Description
Matches any valid 3 or 6 digit hexadecimal colour value.
Matches
#ff9900 | #abc | #92fea5
Non-Matches
ab | #92a2 | 32z
Author Rating: Not yet rated. jteeuwen
Title Test Details IPv6 Address
Expression
(^\d{20}$)|(^((:[a-fA-F0-9]{1,4}){6}|::)ffff:(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})){3}$)|(^((:[a-fA-F0-9]{1,4}){6}|::)ffff(:[a-fA-F0-9]{1,4}){2}$)|(^([a-fA-F0-9]{1,4}) (:[a-fA-F0-9]{1,4}){7}$)|(^:(:[a-fA-F0-9]{1,4}(::)?){1,6}$)|(^((::)?[a-fA-F0-9]{1,4}:){1,6}:$)|(^::$)
Description
This matches all valid forms of an IPv6 address. Including the compatibility form used to map IPv4 addresses. As well as the base-85 encoded integer form. It takes care of value range checking on the ipv4 part (components cannot exceed 0-255). This has been tested quite thoroughly, but considering the complexity and possibilities in the formation of an IPv6 address, matching errors are not guaranteed to be absent.
Matches
::5:aef1:ffff | ::ffff:240.65.238.22 | 0:0:0:0:0:0:0:1
Non-Matches
79250:9a0: | 8 | 91cf91d3da9
Author Rating: Not yet rated. jteeuwen
Title Test Details Signed Integer
Expression
^[+-]?[0-9]+$
Description
Single- or multi-digit signed Integer.
Matches
12 | -2 | +3213
Non-Matches
abc | @41 | 43.12
Author Rating: Not yet rated. jteeuwen
Title Test Details Decimal Number
Expression
^[+-]?\d*(([,.]\d{3})+)?([,.]\d+)?([eE][+-]?\d+)?$
Description
Matches any integer or decimal number with either dot (.) or comma (,) as decimal- and thousands-separator. Also accepts Scientific notation.
Matches
-4,233.2832e12 | +232 | -0.12e-5
Non-Matches
abc | @41 | 0x423
Author Rating: Not yet rated. jteeuwen
Title Test Details ipv4 IP Address
Expression
^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})){3}$
Description
This matches any valid IPV4 IP Address. It includes 0-255 range checks since none of the IP components may exceed 255.
Matches
97.67.44.20 | 199.154.37.214 | 127.0.0.1
Non-Matches
63.125.94.287 | 140.370.a.187 | 94.923.1
Author Rating: Not yet rated. jteeuwen
Title Test Details Pattern Title
Expression
^(\(?[0-9]{3}[\)-\.]?\ ?)?[0-9]{3}[-\.]?[0-9]{4}$
Description
Simple US phone number matching, allowing area code or not. Allows spaces, dashes, dots, or none of the above. Area code, if entered, can be surrounded by parenthesis or not.
Matches
(555) 555-5555 | 555.555.5555 | 555-5555
Non-Matches
(555)-555-5555
Author Rating: The rating for this expression. Dan Breen
Change page:   |    Displaying page 27 of 38 pages; Items 2601 to 2700

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