Datasets:

expression
stringlengths
4
1.37k
raw_prompt
stringlengths
11
1.08k
refined_prompt
stringlengths
79
906
matches
sequence
non_matches
sequence
id
int64
1
4.11k
\b(((J(ANUARY|UNE|ULY))|FEBRUARY|MARCH|(A(PRIL|UGUST))|MAY|(SEPT|NOV|DEC)EMBER|OCTOBER))\s*(0?[1-9]|1[0-9]|2[0-9]|3[0-1])\s*(\,)\s*(200[0-9])\b
VALIDATE THE DATE FORMAT FULL MONTH DAY, CCYY i.e August 30, 2006
VALIDATE THE DATE FORMAT FULL MONTH DAY, CCYY i.e August 30, 2006. Accepts years 2000-2009 Match examples: - "JANUARY 26, 2007" - "MARCH 1, 2001" - "DECEMBER 31, 2005" Non-match examples: - "JAN 26, 2001" - "JULY 31 2005"
[ "JANUARY 26, 2007", "MARCH 1, 2001", "DECEMBER 31, 2005", "JANUARY 12, 2003", "JUNE 31, 2000", "JULY 31, 2004", "OCTOBER 31, 2002", "MAY 13, 2001", "FEBRUARY 24, 2006", "DECEMBER 10, 2006", "SEPTEMBER 10, 2006", "APRIL 17, 2009", "APRIL 26, 2006" ]
[ "JAN 26, 2001", "JULY 31 2005", "AUGUST 01, 08", "MARCH 10, 2010", "date", "august 23", "January 26, 2003", "Oct 25", "23, June, 2004", "23rd of May", "Jan 1st", "December 24th" ]
1,899
\b(((J(ANUARY|UNE|ULY))|FEBRUARY|MARCH|(A(PRIL|UGUST))|MAY|(SEPT|NOV|DEC)EMBER|OCTOBER))\s*(0?[1-9]|1[0-9]|2[0-9]|3[0-1])\s*(\,)\s*(0[0-9])\b
VALIDATE THE DATE FORMAT FULL MONTH DAY, YY i.e August 30, 06 (2006)
VALIDATE THE DATE FORMAT FULL MONTH DAY, YY i.e August 30, 06 (2006) Accepts years 2000-2009 Match examples: - "JANUARY 26, 07" - "MARCH 1, 01" - "DECEMBER 31, 05" Non-match examples: - "JAN 26, 01" - "JULY 31 05"
[ "JANUARY 26, 07", "MARCH 1, 01", "DECEMBER 31, 05", "JANUARY 12, 03", "JUNE 31, 00", "JULY 31, 04", "OCTOBER 31, 02", "MAY 13, 01", "FEBRUARY 24, 06", "DECEMBER 10, 06", "SEPTEMBER 10, 06", "APRIL 17, 09", "APRIL 26, 06" ]
[ "JAN 26, 01", "JULY 31 05", "AUGUST 01, 2008", "JAN 26, 2001", "JULY 31 2005", "MARCH 10, 2010", "date", "august 23", "January 26, 2003", "Oct 25", "23, June, 2004", "Jan 1st" ]
1,900
\b((J(AN|UN|UL))|FEB|MAR|(A(PR|UG))|MAY|SEP|NOV|DEC|OCT)\s*(0?[1-9]|1[0-9]|2[0-9]|3[0-1])\s*(\,)\s*(200[0-9])\b
VALIDATE THE DATE FORMAT SHORT MONTH DAY, CCYY i.e Aug 30, 2006
VALIDATE THE DATE FORMAT SHORT MONTH DAY, CCYY i.e Aug 30, 2006. Accepts years 2000-2009 Match examples: - "JAN 26, 2007" - "MAR 1, 2001" - "DEC 31, 2005" Non-match examples: - "JANUARY 26, 2001" - "JUL 31 2005"
[ "JAN 26, 2007", "MAR 1, 2001", "DEC 31, 2005", "JAN 12, 2003", "JUN 31, 2000", "JUL 31, 2004", "OCT 31, 2002", "MAY 13, 2001", "FEB 24, 2006", "DEC 10, 2006", "SEP 10, 2006", "APR 17, 2009", "APR 26, 2006" ]
[ "JANUARY 26, 2001", "JUL 31 2005", "AUGUST 01, 08", "JULY 31 2005", "AUGUST 01, 08", "MARCH 10, 2010", "date", "august 23", "January 26, 2003", "Oct 25", "23, June, 2004", "23rd of May" ]
1,901
\b((J(AN|UN|UL))|FEB|MAR|(A(PR|UG))|MAY|SEP|NOV|DEC|OCT)\s*(0?[1-9]|1[0-9]|2[0-9]|3[0-1])\s*(\,)\s*(0[0-9])\b
VALIDATE THE DATE FORMAT SHORT MONTH DAY, YY i.e Aug 30, 06 (2006)
VALIDATE THE DATE FORMAT SHORT MONTH DAY, YY i.e AUG 30, 06 (2006). Accepts years 2000-2009 Match examples: - "JAN 26, 07" - "MAR 1, 01" - "DEC 31, 05" Non-match examples: - "JANUARY 26, 01" - "JUL 31 05"
[ "JAN 26, 07", "MAR 1, 01", "DEC 31, 05", "JAN 12, 03", "JUN 31, 00", "JUL 31, 04", "OCT 31, 02", "MAY 13, 01", "FEB 24, 06", "DEC 10, 06", "SEP 10, 06", "APR 17, 09", "APR 26, 06" ]
[ "JANUARY 26, 01", "JUL 31 05", "AUGUST 01, 08", "JULY 31 2005", "AUGUST 01, 08", "MARCH 10, 2010", "date", "august 23", "January 26, 2003", "Oct 25", "23, June, 2004", "23rd of May" ]
1,902
\s(?=([^"]*"[^"]*"[^"]*)*$|[^"]*$)
Splits a string by spaces, except when the space is within a quote delimited set of characters. Usefull for splitting search field inputs. Props to killahbeez
Detects spaces. Splits a string by spaces, except when the space is within a quote-delimited set of characters. Match examples: - "(some number of spaces)" - "(one space)" - "(two spaces)" Non-match examples: - ""no matches"" - ""noMatches""
[ "(some number of spaces)", "(one space)", "(two spaces)" ]
[ "\"no matches\"", "\"noMatches\"", "noMatches", "esdv", "234", "ds", "//", "44%", "$$6", "\"ffe", "+=", "dswef*" ]
1,906
ICON="[^"]+"
Remove favicon base64 data from Firefox bookmark HTML files, thereby reducing file size (useful for HTML bookmark backup and transfer).
Detect favicon base64 data from Firefox bookmark HTML files, thereby reducing file size (useful for HTML bookmark backup and transfer). Match examples: - "<DT><A HREF="http://www.gmail.com/" ADD_DATE="1147950005" LAST_MODIFIED="1147950022" ICON_URI="https://mail.google.com/favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAiElEQVQ4jdWPsQ3AIAwEGYtZ2IZpvIGHoaRLm47q0wCyiY2SKspL3/mOJ4T/p8SI0TNnNKJtz5whGSUoMQLMcMOM9T7I14+UfEmHj5TUiikA4EsWGIAtMCUGvBWAWUkULFbZglrRiJREwo0IqNURDLgfjO/I2fLmJlhhN11iLngcb8GbTsHnuQAHliL7fehqZAAAAABJRU5ErkJggg==" LAST_CHARSET="UTF-8">Google Mail</A>" - "ICON="~8G$"" - "ICON="d-9ME6lcr[[:)qQ]'~WAZ~5yGH)w.jZwmIe396Ya[)+GuQr/t{S]]-[n}?NqB.E}NL.(mt=8W>*+"" Non-match examples: - "<DT><A HREF="http://flickr.com/" ADD_DATE="1107635483" LAST_VISIT="1189245562" LAST_MODIFIED="1114539579" LAST_CHARSET="UTF-8" ID="rdf:#$Ppq5x3">Flickr</A>" - "///"
[ "<DT><A HREF=\"http://www.gmail.com/\" ADD_DATE=\"1147950005\" LAST_MODIFIED=\"1147950022\" ICON_URI=\"https://mail.google.com/favicon.ico\" ICON=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAiElEQVQ4jdWPsQ3AIAwEGYtZ2IZpvIGHoaRLm47q0wCyiY2SKspL3/mOJ4T/p8SI0TNnNKJtz5whGSUoMQLMcMOM9T7I14+UfEmHj5TUiikA4EsWGIAtMCUGvBWAWUkULFbZglrRiJREwo0IqNURDLgfjO/I2fLmJlhhN11iLngcb8GbTsHnuQAHliL7fehqZAAAAABJRU5ErkJggg==\" LAST_CHARSET=\"UTF-8\">Google Mail</A>", "ICON=\"~8G$\"", "ICON=\"d-9ME6lcr[[:)qQ]'~WAZ~5yGH)w.jZwmIe396Ya[)+GuQr/t{S]]-[n}?NqB.E}NL.(mt=8W>*+\"", "ICON=\"K%NCb/.?IC^}\\kkeAUhTgc<nn|gySah7jFToN4wM;*1(7mPh7[e|-@%S*S`sn:u$bPg$oKPym3J=]dl`mGrXp<vllQ+\"", "ICON=\"WAYUS&SY5WyP[3yYZlKtvj v0+51cG+>jL!?op&LMFqECMW>|SF{QdX# hK S\"", "ICON=\"q\"", "ICON=\"-l\"", "ICON=\"[Jq.n?8H6|VN%,)5vDI|Te+@Ymib;4NM%3jO0KZqSF$<FnS1\"", "ICON=\".r:im.jUE6n@&q&sDNG=$2NI|m{TGa>\"", "ICON=\"-M4C]<\\\"", "ICON=\"IJE$bAy~|b\"", "ICON=\"@x=3VHJvN+}kySx;2,b!|RGX+Bu,C0fBY&M|6;Q[ak+;J1^R`7Wa?%9n>:\"", "ICON=\"HN+!Zkh\\Ss{la';u:O21KuX6E;!v.;pfKV!UH]}svXx:{6A tV/M2(Yh1sn'|kfL+z4(Do.`VVB^58{c:kwiU\"" ]
[ "<DT><A HREF=\"http://flickr.com/\" ADD_DATE=\"1107635483\" LAST_VISIT=\"1189245562\" LAST_MODIFIED=\"1114539579\" LAST_CHARSET=\"UTF-8\" ID=\"rdf:#$Ppq5x3\">Flickr</A>", "///", "ICON", "ICON=\"\"", "ICON=\"\"342.\"\"", "ICON='edfr'", "ICON==\"fev\"", "icon=\"fre\"", "icon=\"987656789\"", "ICON=\"efreg32'", "ICON=---efrdcs", "ICON=....?" ]
1,909
(^\+?([1-8])?\d(\.\d+)?$)|(^-90$)|(^-(([1-8])?\d(\.\d+)?$))
Latitude must<90 >=-90
Matches numerics between -91and 90 (exclusive). Match examples: - "5.4" - "-0.58" - "-90" Non-match examples: - "-120" - "+1.4F"
[ "5.4", "-0.58", "-90", "+87", "-67.491449996440706490801988192811600862757554303908971854776873386684518", "-9.5185796683152094826299936893061694660355029389934", "+83", "-86.597562529211572613737307905105992947103177686406891", "-76.80652", "-47", "-7.2300271770582998480056257231823", "+75", "+0.3453863512674823672962343" ]
[ "-120", "+1.4F", "90", "-1111111", "09876", "00000", "5%", "#3", "4567", "12/12", "34-56", "3rffw" ]
1,912
^((1[01])|(\d)):[0-5]\d(:[0-5]\d)?\s?([apAP][Mm])?$
validate time in hh:mm:ss hh:mm hh:mm:ss pm(am,PM,AM) <12h
Matches time in formats hh:mm:ss hh:mm hh:mm:ss pm (am,PM,AM) <12h Match examples: - "11:23:43PM" - "3:25:35" - "1:23 am" Non-match examples: - "12:01:01" - "3.14pm"
[ "11:23:43PM", "3:25:35", "1:23 am", "2:38", "9:37:48", "11:59:03", "7:30", "2:32:13", "4:13:33 Pm", "10:32", "1:13", "1:50 AM", "10:28am" ]
[ "12:01:01", "3.14pm", "01:24AM", "time", "10:52pM0", "8:24:49-Pm", "11:55:22 P", "02:05:39", "00:11:04 pm", "2:15:58 A m", "04:18:16", "11:36 am" ]
1,913
^<\s*(td|TD)\s*(\w|\W)*\s*>(\w|\W)*</(td|TD)>$
match <td ***>***</td> in html,so any other html mark with<sth></sth> is just do a little change to this
Match <td ***>***</td> in html Match examples: - "<td>hello kitty</td>" - "<TD WIDTH='20></TD>" - "<TD >&NBSP;</td>" Non-match examples: - "<td>< /td>" - "<TD HELLO</td>"
[ "<td>hello kitty</td>", "<TD WIDTH='20></TD>", "<TD >&NBSP;</td>", "<td> </td>", "<td>frt 543f</td>", "<td>flkjhgfdsdfghjkjhgfdfghjkhgfdfghjk</td>", "<td>987654edcvbjuytre56u</td>", "<td><></td>", "<td><lkjhgfcv0h-g%></td>", "<td>//////</td>", "<td>---------</td>", "<td>+</td>", "<td>12343@@@</td>" ]
[ "<td>< /td>", "<TD HELLO</td>", "<table></table>", "<fce>r kitty</td>", "<td>12343@@@</d>", "<p>43@@@</p>", "<p></p>", "<987></0987>", "<-></[>", "<>revcd</>", "<></>", "<3e3></>" ]
1,914
^((([1]\d{2})|(22[0-3])|([1-9]\d)|(2[01]\d)|[1-9]).(([1]\d{2})|(2[0-4]\d)|(25[0-5])|([1-9]\d)|\d).(([1]\d{2})|(2[0-4]\d)|(25[0-5])|([1-9]\d)|\d).(([1]\d{2})|(2[0-4]\d)|(25[0-5])|([1-9]\d)|\d))$
match ip address from 1.0.0.0 to 223.255.255.255
Match ip addresses from 1.0.0.0 to 223.255.255.255 Match examples: - "192.168.0.1" - "223.255.255.255" - "9.0.0.0" Non-match examples: - "0.10.2.52" - "255.255.255.255"
[ "192.168.0.1", "223.255.255.255", "9.0.0.0", "165A235h238'3", "221.202_3>250", "77K712251U200", "5\"139.16771", "221.104R251A9", "215{8)6E89", "126J250H34475", "104^253m103[99", "214h81'36)211", "220~8M224=1" ]
[ "0.10.2.52", "255.255.255.255", "127.0.257.1", "lkjhgf", "1.2.3", "ip address", "56.232.774443", "0340", "#34", "123.453.2324", "0.0.0", "09876543" ]
1,915
(((0[13578]|10|12)([/])(0[1-9]|[12][0-9]|3[01])([/])([1-2][0,9][0-9][0-9]))|((0[469]|11)([/])([0][1-9]|[12][0-9]|30)([/])([1-2][0,9][0-9][0-9]))|((02)([/])(0[1-9]|1[0-9]|2[0-8])([/])([1-2][0,9][0-9][0-9]))|((02)([/])(29)(\.|-|\/)([02468][048]00))|((02)([/])(29)([/])([13579][26]00))|((02)([/])(29)([/])([0-9][0-9][0][48]))|((02)([/])(29)([/])([0-9][0-9][2468][048]))|((02)([/])(29)([/])([0-9][0-9][13579][26])))
This is the USA Date Format. MM/DD/YYYY with checking leaf year
This is the USA Date Format. MM/DD/YYYY with checking leap year Match examples: - "05/15/2008" - "02/29/2008" - "02/29/3200" Non-match examples: - "05-12-2008" - "02/29/2007"
[ "05/15/2008", "02/29/2008", "02/29/3200", "10/01/1045", "10/31/1023", "05/02/1,91", "02/29.6800", "02/29/1744", "02/13/2009", "02/29/8572", "02/29/2508", "02/29/4176", "02/29/8256" ]
[ "05-12-2008", "02/29/2007", "02/28 2910", "02 29/5600", "02 29 1600", "11/30-2998", "10-02/2,72", "10-02-2,72", "02.29.9156", "02:29:9600", "11071909", "02/249/2764" ]
1,916
^([a-zA-Z]+[\'\,\.\-]?[a-zA-Z ]*)+[ ]([a-zA-Z]+[\'\,\.\-]?[a-zA-Z ]+)+$
Requires a person's name including at least 2 parts. (first and last) Allows optional extra names. It allows plenty of initials as well as symbols in names. Restricts symbol usage quite a bit, but allows even names with 2 symbols. Requires last name to have at least 2 characters and cannot be an initial. Works well for filtering names on validation.
Matches a person's name with at least 2 parts (first and last). Allows optional extra names. It allows plenty of initials as well as symbols in names. Restricts symbol usage quite a bit, but allows even names with 2 symbols. Requires last name to have at least 2 characters and cannot be an initial. Match examples: - "E.J. O'Malley" - "Jack O'Neil" - "Mary-Lou Elizabeth Jones" Non-match examples: - "Johnathan Michael S." - "Prince"
[ "E.J. O'Malley", "Jack O'Neil", "Mary-Lou Elizabeth Jones", "John Smith", "Mr. Jones", "Bernardo the third", "Th lo", "Mrs. McMan", "wefh wejflruh", "fe eeg", "krec erfg", "refds ervh", "Thanks Be" ]
[ "Johnathan Michael S.", "Prince", "Teddy Has-a..Fake-Name", "'mc wfe", "384 483", "w", "342", "name", "name", "firstLast", "porefcds", "#comment" ]
1,921
((19|20)[0-9]{2})-(([1-9])|(0[1-9])|(1[0-2]))-((3[0-1])|([0-2][0-9])|([0-9]))
Validate the year month and day.
Matches the year month and day in format (YYYY-MM-DD). Match examples: - "2008-12-15" - "1960-05-16" - "2091-1-7" Non-match examples: - "1556/9/8" - "year"
[ "2008-12-15", "1960-05-16", "2091-1-7", "1965-01-30", "1901-6-2", "1961-9-25", "2011-10-8", "2042-1-5", "1980-02-8", "1933-4-3", "1931-11-7", "1974-6-0", "1955-09-05" ]
[ "1556/9/8", "year", "2074/8-30", "2057 10-3", "1935-0323", "2084230", "1905 5 27", "3709-09", "1968-30", "redsc", "12:12", "AM" ]
1,924
^[:*:]
This checks whether the string is equals to "*" i.e., contains only "*(Asterisk)" or begins with Asterisk.
This checks whether the string is equals to "*" i.e., contains only "*(Asterisk)" or begins with Asterisk. Match examples: - "*" Non-match examples: - "a*" - "asdf"
[ "*" ]
[ "a*", "asdf", "kjhbgvc", "asteric", "wefcd", "1234", "$", "#", "@", "!", "-", "+" ]
1,925
^[0-9]+\.?[0-9]?[0-9]?[0,5]?$
The time should be fractional number and divisible by 0.005
Number divisible by 0.005 Match examples: - "1.005" - "60" - "0.08" Non-match examples: - "1.009" - "-8"
[ "1.005", "60", "0.08", "33", "234533", "0.10", "8", "093", "231", "12345678", "09876534222222", "1,", "64634" ]
[ "1.009", "-8", ".005", "-1", "098765456789ikmnbvc", "fraction", "#3", "4%", "12/12", "3.1415", "00000003333348.0-", ".0" ]
1,927
^\d+\/?\d*$
This simple expression is used to validate fractions or UK odds. It will match integers, allowing 10/1 to be entered as 10, and fractions. It will not match negative numbers or fractions, spaces or any alphabetical characters.
Used to validate fractions or UK odds. It will match integers, allowing 10/1 to be entered as 10, and fractions. It will not match negative numbers or fractions, spaces or any alphabetical characters. Match examples: - "10" - "2/3" - "100/30" Non-match examples: - "-10" - "-2/3"
[ "10", "2/3", "100/30", "8212974770388710493571330448503540033628930518484666081223057229", "8678978281274030324920378", "876", "013", "237878", "67237632", "9", "44444", "12/12", "3/8" ]
[ "-10", "-2/3", "text", "10 / 1", "42/7eok", "-9", "number", "fraction", "twelve/twelve", "3.0", "9993.", "22220.000" ]
1,931
^(\d{1,4}?[.]{0,1}?\d{0,3}?)$
This expression validate the add of numbers with or without decimal
Matches numbers with or without decimal Match examples: - "123" - "123.1" - "100." Non-match examples: - "12345.1234" - ".012"
[ "123", "123.1", "100.", "0.2", "2341.123", "13060", "336", "663", "7432", "553.3", "067", "22", "7.54" ]
[ "12345.1234", ".012", ".2893", "3434.00000", ".0", "-342", "+9876", "2423423.", "23.0032", "#3", "5%", "12/12" ]
1,933
^([\u20AC]?[1-9]\d*\.\d{3}(?:,\d{2})?|[\u20AC]?[1-9]\d*(?:,\d{2})?|[\u20AC]?[1-9]\d*)$
Optional Amount, with optional thousands seperator (using the point) and optional decimal comma. If decimal comma is in string, then 2 trailing digits are required. Also checks for the optional euro sign
Matches amounts of money with an optional decimal point. If the decimal comma is in string, then 2 trailing digits are required. Also, checks for the optional euro sign. Match examples: - "1" - "1,00" - "1.000,00" Non-match examples: - "1a" - ".00,00"
[ "1", "1,00", "1.000,00", "€1", "339807682046239015456626518163951619966358191099829441817856", "€33084577111055998450840731337746980155538582722558334921161762731208435427527533259357800551181084005,39", "€73.344", "€204206394492078854068542,05", "9564012388762870725219575206910547", "€4610,45", "36565740277351769916606018574077579915171665781774889580", "€79386532622532235870547500131604581872272", "7014506779398" ]
[ "1a", ".00,00", "1,0", "$1", "12/12", "24.34", "23232332.3232", "-1", "+8765", "7.", "00000", "money" ]
1,941
\b[P|p]?(OST|ost)?\.?\s*[O|o|0]?(ffice|FFICE)?\.?\s*[B|b][O|o|0]?[X|x]?\.?\s+[#]?(\d+)\b
Modified version of Chris Myers' regexp for po boxes. This one won't match the word "box" in the address. Only matches if there is a number following the po box. Also accepts a # in front of the number and other spelling variations.
Matches po boxes. This one won't match the word "box" in the address. Only matches if there is a number following the po box. Also accepts a # in front of the number and other spelling variations. Match examples: - "po box 123" - "p.o.b. #123" - "box 123" Non-match examples: - "123 box canyon rd" - "po box *"
[ "po box 123", "p.o.b. #123", "box 123", "box 34", "po box 34984934", "p.o.b. #22", "p.o.b. #879876543456789", "box 347384", "box 123", "box 098765432", "po box 6", "po box 77777", "po box 124532123421" ]
[ "123 box canyon rd", "po box *", "pob reoiewjcdsokl", "p.o.b. #87uyt", "po box ##43834", "boxbox 3898", "box po 987654", "389237889723", "number", "98767898 po box", "87565 box", "39823 p.o.b." ]
1,943
http[s]?://[a-zA-Z0-9.-/]+
Checks to make sure that entry starts with http:// or https:// and that contents are limited to alphas . - /
Matches entries that start with http:// or https:// and the contents are limited to alphas Match examples: - "http://www.google.com" - "https://www.google.com" - "http://localhost/" Non-match examples: - "www.google.com" - "website"
[ "http://www.google.com", "https://www.google.com", "http://localhost/", "https://0evOuIJuIf4tK.r6ty5smP2AleyI5E380K34v679iU6QlA", "https://6BigFbaiZcfA5Bovlo5nWx8", "http://O1woe2u.xsroK/f2s6tD8sggK7KVv8d9I7", "https://chcYCj5nislUpe0GTyXn", "http://KjgYqEuhTQUl9qMP7fbtXST35wo.5qagHh7jtVDCfiocIOTtRyd9S9gtO6QigxHzgvq6o", "http://mgRx6g74eLPV6Y9DbFZUv", "https://X7KBR", "https://GwjanOZWgfuvIi0a0mb.q0", "http://Gv3wR.NH8lay8DBFw3MGwPKP", "http://J0YKuQPvwb1IPvqQfg/" ]
[ "www.google.com", "website", "www", "http", "http:/ewf.4444", "https", "wwwwww", "ftp", "@gmail.com", "dfghjk", "jfhsdkjjh7", "?:///" ]
1,944
^[-|\+]?[0-9]{1,3}(\,[0-9]{3})*$|^[-|\+]?[0-9]+$
Integer with or without commas. Signed or unsigned.
Integer with or without commas. Signed or unsigned. Match examples: - "1,234" - "1234" - "-1,234" Non-match examples: - "12,34" - "1.234"
[ "1,234", "1234", "-1,234", "-1234", "5,284,672,996,084,725,111,195,488,002,311,154,146,366,315,128,991,910,862,981", "+00993825521146278389368453995955317436058624161441235349404816150056415287648833572740653639227948366", "4,422,667,944,007,030,668", "-11910129132992855685723880445984210813189987741487", "69,323,930,057,037,633,620,458,298,023,423,992,658,515,620,246,895,518,759,537", "1742622085320083786852418024082354099699828530173564516729499509784593164924943697022", "4,174,465,507,445,981,780,363,603,922,684,492,009,745,206,695,595,843,515,805,056,746,828,867", "+2,265,515,659,172,150,913,433,061,506,903,293,337,684,439,870,025,234,247,616,568,359,077,316,580,249,680,489,996,149,120,951,884,034,361,554,980,755,574,749,349,435,533,301,233,541,711,494,888,276,348,544,174,148,558,349,540", "25876462041417115483574178278923645437430730250097693102058642109182878068881533322914802787" ]
[ "12,34", "1.234", "abc", "##", "+", "-", ".0", "(876)", "ijouhygtf", "32ewds", "g442", "245gerwf" ]
1,950
^([0-9]{1}[\d]{0,2}(\,[\d]{3})*(\,[\d]{0,2})?|[0-9]{1}[\d]{0,}(\,[\d]{0,2})?|0(\,[\d]{0,2})?|(\,[\d]{1,2})?)$
Match any number , no characters, no empty sets, and accept zero.
Match any number, no characters, no empty sets, and accept zero. Match examples: - "0001" - "12345" - "40788018763604681545698910422212,34" Non-match examples: - "abcd" - "012a"
[ "0001", "12345", "40788018763604681545698910422212,34", "42689385200849809755330582721781144829205057324808464028908786274273318912310097677616558,70", ",3", "1,216,432,875,905,931,623,929,895,798,254,709,838,662,247,206,516,505,574,696,717,557,656,303,882,805,757,224,244,831,166,562,850,598,763,101,655,292,582,154,709,355,719,515,070,34", ",38", "8,968,414,863,829,387,382,471,702,187,988,301,942,492,870,806,960,954,112,512,899,630,005,476,770,846,414,117,887,634,485,631,248,825,984,670,921,905,328,917,486,402,989,044,306,810,678,714,146,813,356,358,080,950,687,035,149,000,184,091,427,151,200,710,201,944,148,886,", "0,6", "34492196568546429699783700098399274057759926155063955616357586", ",47", "0,", "36,277,102,064,107,505,723,144,954,604,279,170,828,096,209,664,401,591,137,835,190,315,452,381,609,617,779,785,702,386,673,771,786,709,251,912,374,594,651,308,664,996,087,755,570,640,212,276,396,937,625,392,675,084,357,751,690,225,425,536,246,577,154,613,001,100,112,845,821,856,858,884,179,813,521,083,945,617,085,305,645,131,464,354,120,481,206,862,083,526,453" ]
[ "abcd", "012a", "2345tgr", "qwefd,", ",", ".0", "frer4", "24q5reg", "gre455", "4254ger", "544qsrg", "ewrg4" ]
1,952
^(0\.|([1-9]([0-9]+)?)\.){3}(0|([1-9]([0-9]+)?)){1}$
A simple regex to check a version information string of the style 1.0.0.0
A simple regex to check a version information string of the style 1.0.0.0 Match examples: - "1.2.3.4" - "0.0.2.48504995526161112907723074823733001360950519953024188524490023263126367337734975355" - "7.0.0.0" Non-match examples: - "1.2.3" - "01.02.03.04"
[ "1.2.3.4", "0.0.2.48504995526161112907723074823733001360950519953024188524490023263126367337734975355", "7.0.0.0", "995924130561360496409174388082680333348602416467836347516621830555269281187.2.9877577759646252897.495760733932004220082873", "9.179844495258302487837838329116084107717508700209186543832911986755634680834.1.75430881527114332685881980603299534395097469403509625456909876331457104", "7.6.6.4", "0.5.9.0", "0.4.0.0", "0.0.0.0", "0.5.0.0", "9.0.29760475541206794.143293204651548567230402531615022910662571834234626316192222832522929977270673151170272416352631", "2.7.7552197900952889753215401484317738423240913655378.1", "1.288825352608777973492105303713854541535998647957282682556885422638815395962209382975693286590299361.8.12662037900806967035976172763024819" ]
[ "1.2.3", "01.02.03.04", "1.2.3.4Beta", "IP", "767%", "$45678", "#3", "#..3", "4321fre", "3221", "+0987", "-9876" ]
1,954
^((\$?\-?)|(\-?\$?))([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)?(\.[0-9]*)?$
Matches any number which includes the US currency symbol ($), a negative sign (-), comma separators, and a decimal. It matches an unlimited number of decimal places. It does NOT reject an empty string passed to it. Credit goes to Al Kahler for posting the original expression from http://regxlib.com/REDetails.aspx?regexp_id=70 along with a fix for the decimal place.
Matches any number that includes the US currency symbol ($), a negative sign (-), comma separators, and a decimal. It matches an unlimited number of decimal places. It does NOT reject an empty string passed to it. Match examples: - "$.01" - "1,234.003" - "834223.1" Non-match examples: - ".0,001" - "1,1.01"
[ "$.01", "1,234.003", "834223.1", "$0.01", "-$1.50", "$-50.123", "-$", "-0273029570338466083286457372911786177840950583862934245824010450870644223390123245579908924648197", "-$.3067063708136872591910189758727404130332985037814788725757472547497565776311194954917340568420", ".1058811057045379312110561820513963569300635", "-.76759900764831304306812620915030773068324572487491765701323774747463097534525803524921112887", "7,302,955,223,790,475,685,735,996,849,256,475,841,878,936,591,138,852,716,067,736,231,199,391,752,461,993,664,629,935,490,839,000,641,648,155,013,574,550,888,320,458,192,885,360,257,622,616,628,945,010,272,325,547,371,650,069,938,891,936,203,116,185,631,223,055,525,021,701,419,062,059,151,318,094,805,431,020,717,491,304,805,540,282,245,993,584,217,288,856,078,181,417,965,378,343,516,916.01349963332043700515008401", "-0,038,711,341,463,101,097,008,278,992,529,305,562,998,437,304,958,389,551,410,980,657,269,263,800,628,696,566,548,260,964,048,379,166,131,933,314,473,728,274,583,088,051,732,472,045,723,266,738,984,860,670,684,565,180,280,873,448,172,351,151,844,828,834,282,654,205,203,751,810,911,691,359,335,804,210,954,779,497,063,483,384,039,668,030,490,550,116,800,932,556,122,309,515.10592" ]
[ ".0,001", "1,1.01", "1E", "5$", "+98765", "&^%", "uytfy7", "money", "(*&", "ten", "$$$$", "&^%^&*(" ]
1,956
^[A-Z]\d{2}(\.\d){0,1}$
This expression matches ICD-10 code
Matches International Classification of Diseases (ICD-10) codes Match examples: - "Z99.9" - "Z99" - "G82" Non-match examples: - "Z999" - "Z99."
[ "Z99.9", "Z99", "G82", "D05", "J05", "Y16", "M08.0", "V52.4", "H67.3", "F44", "I01.4", "I29", "Z97.0" ]
[ "Z999", "Z99.", "99", "wffe", "0.0", "-12", "098765", "z37f", "0987eh", "hefj", "8328823", "82" ]
1,958
(((0*[1-9]|[12][0-9]|3[01])([-./])(0*[13578]|10|12)([-./])(\d{4}))|((0*[1-9]|[12][0-9]|30)([-./])(0*[469]|11)([-./])(\d{4}))|((0*[1-9]|1[0-9]|2[0-8])([-./])(02|2)([-./])(\d{4}))|((29)(\.|-|\/)(02|2)([-./])([02468][048]00))|((29)([-./])(02|2)([-./])([13579][26]00))|((29)([-./])(02|2)([-./])([0-9][0-9][0][48]))|((29)([-./])(02|2)([-./])([0-9][0-9][2468][048]))|((29)([-./])(02|2)([-./])([0-9][0-9][13579][26])))
Date in DD/MM/YYYY or D/M/YYYY format.
Date in DD/MM/YYYY or D/M/YYYY format. Match examples: - "01/06/2008" - "1/1/2008" - "29.2/9200" Non-match examples: - "32/13/2008" - "00/00/2005"
[ "01/06/2008", "1/1/2008", "29.2/9200", "29/02.9960", "29/02.5224", "29.2/6572", "29-02.3600", "29-2/1200", "26-11/8662", "29-2-4808", "10-02/9483", "29/02.5004", "29-2-2808" ]
[ "32/13/2008", "00/00/2005", "date", "4567890", "29/028800", "2902.6004", "29027596", "229.032-34043", "#4", "5%", "2/2/2", "12/12" ]
1,960
(?!\b(xx|yy)\b)\b[\w]+\b
Matches any word except these from alternation (xx|yy|...). Works in JavaScript
Matches any word except with xx and yy Match examples: - "x" - "xxx" - "xxyy" Non-match examples: - "xx" - "yy"
[ "x", "xxx", "xxyy", "yyx", "cV7CqH8YbQzVmGtOUMAUCcvoo4L2a9LDa2s7gDpYe7R0", "m2u_PUgF0q6e", "82PMz44ru39p9cnb9SnQw5HG5bZ35Gt2ri9TpPi3HDC8ZNmkWthvDWK0HI4_ov2FEHzQPu41vU7lnFAEpYE1O3", "BkAO9UbVNf4z9PpAW3WrqWSlBOVXzgBgurHEtmbl79", "qn6RhW1N7ZzYmct1miCsSNY_XOnIZPK3dIdqzU", "sciLUelHqtk1Fe7k4SYjEZu0iSBsaIMrri_IPrb0m6YwHNzCpnpte7zud2_6D", "pbGk6Rgwlj0ZzPcoGaGcvCjZvs5tcJ3kHDfk3FSB9", "l1hi5XLa", "atRsmHuwtEJ1gFVePGg38O_" ]
[ "xx", "yy", "--", "#", "@", "!", "()", "&&&", "???", "[]", "./", "''" ]
1,962
^100$|^100.00$|^\d{0,2}(\.\d{1,2})? *%?$
Allows percent values from 0 to 100 without the % sign. Can be used with up to 2 decimal places or without any. Also works in ASP.NET regular expression validator control.
Allows percent values from 0 to 100 without the % sign. Can be used with up to 2 decimal places or without any. Match examples: - "0" - "0.00" - "50.25" Non-match examples: - "100.01" - "-1"
[ "0", "0.00", "50.25", "100", "100.00", "100700", "14", "5.43", "55", "98", "33.3", "78", "12" ]
[ "100.01", "-1", "5.005", "%12", "#3", "12/12", "(32)", "number", "823", "0000", "5535", "0005" ]
1,964
^[1-9]{1}$|^[1-9]{1}[0-9]{1}$|^[1-3]{1}[0-6]{1}[0-5]{1}$|^365$
This expression allows you to select 1-365 as a numeric value for the days of the year. Must be between 1 and 365 and must be numeric
This expression allows you to select 1-365 as a numeric value for the days of the year. Must be between 1 and 365 and must be numeric Match examples: - "25" - "363" - "110" Non-match examples: - "2.5" - "0"
[ "25", "363", "110", "1", "2", "3", "12", "17", "34", "90", "45", "86", "200" ]
[ "2.5", "0", "400", "-1", "2345678", "5432", "4000", "503", "4378", "#", "4321", "3456" ]
1,972
^(\d{3}-\d{2}-\d{4})|(\d{3}\d{2}\d{4})$
This will accept SSN in the form of 123-45-6789 OR 123456789.
This will accept SSN in the form of 123-45-6789 OR 123456789. Match examples: - "123-45-6789" - "123456789" - "456-63-6666" Non-match examples: - "123-45-459a" - "222-2-2222"
[ "123-45-6789", "123456789", "456-63-6666", "923083942", "085-11-9100", "816-97-6034", "387611789", "551-19-2895", "533-79-9002", "360423595", "501-58-9755", "331241871", "766-53-6084" ]
[ "123-45-459a", "222-2-2222", "222-222222", "34564321", "SSN", "#3", "33223", "123456780-90312", "22-214", "33232", "######", "number" ]
1,974
^(\d?)*(\.\d{1}|\.\d{2})?$
Expression to validate currency formatted numbers without the currency symbol
Expression to validate currency formatted numbers without the currency symbol Match examples: - "153" - "33.48" - "786.1" Non-match examples: - "-123" - "8524.258"
[ "153", "33.48", "786.1", "1567863483.33", "06", "7975651.66", "73942979684534684690883561.9", "488427258694004.49", "2452", "3600.79", "77863.52", "6792110598881568231296106.97", "0971771572" ]
[ "-123", "8524.258", "eo45", "number", "2323w", "89238nfdd", "#3", "734872.s", "-237", "3as784fs", "42jhfe", "jh####dsjh" ]
1,977
(\d{3}\-\d{2}\-\d{4})
pattern match for U.S. social security number
pattern match for U.S. social security number Match examples: - "111-22-3333" - "667-98-7198" - "331-67-7759" Non-match examples: - "11-222-3333" - "1111-22-333"
[ "111-22-3333", "667-98-7198", "331-67-7759", "836-90-2480", "516-26-0805", "228-14-4300", "629-76-7319", "595-42-2584", "943-54-5478", "550-45-1481", "052-74-9223", "610-37-5051", "082-67-0567" ]
[ "11-222-3333", "1111-22-333", "123456", "1212-3284", "234", "#234", "12/12", "0987654567898765345678", "74.23", "number", "00000", "43677634" ]
1,978
^([a-zA-Z]{5})([a-zA-Z0-9-]{3,12})
Validate: First five characters are letters; characters six-17 are letters, numbers, or hyphen; string length is eight characters minimum, 17 characters maximum
Validate: First five characters are letters; characters six-17 are letters, numbers, or hyphens; string length is eight characters minimum, 17 characters maximum Match examples: - "ABCDE123abc-123AB" - "pFNulUVyRFPTu" - "MuRqTOCiErV9" Non-match examples: - "1BCDE123abc-123AB -BCDE123abc-123AB ABCDE6789012345678" - "3434rfes"
[ "ABCDE123abc-123AB", "pFNulUVyRFPTu", "MuRqTOCiErV9", "StqMcwgMambwy", "BziWc3EP94L4aA", "aucVZkOFyMFeI", "OzXSB0TO5MPDJ0WCr", "iLqZO-LqnRwtWsTR", "gJAkd736b", "CjCuwrYSf8x", "ZCNqIftYFfYe8Qe", "QtrpbMd7WeJ", "LxzbzIzo78G" ]
[ "1BCDE123abc-123AB -BCDE123abc-123AB ABCDE6789012345678", "3434rfes", "/edcsfewfred3443efwds/", "434", "number", "uehfgdc", "KLKJHGF", "t4refdsc", "5%", "vvf", "###", "----" ]
1,986
^([^S]|S[^E]|SE[^P]).*
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 everything except lines that begin with SEP. Match examples: - "SEk001" - "TAK002" - "SE7ge+f9FQ7x ]]9ZEl]Pg"@}j DTw%oyyAz" Non-match examples: - "SEP001" - "SEP002"
[ "SEk001", "TAK002", "SE7ge+f9FQ7x ]]9ZEl]Pg\"@}j DTw%oyyAz", "`x>2rC.?XLCh_f0F/Gmks9f?43'TY7yBM+X\"%+K%", "Sgk5: +1.OxaU3Lu0nPEG}a[_4V7I\"m}?Ti= Pm78zQn20% r>Qa5Mh4=_KO", "1c<9iVc3cv'dMnh6(US<:xV(:]Qk-.l^>wKs6SL p-Bq@1aJ@~5zX=r^2~x4$@f2~ilh6Qaq~?goT1Y}s", "SElB=", "SEHgqx+YX\"/g_Vgr[$e7dZT=G9c5XDAFdj", "S]hg0.duW^rKLOK$A1S", "SE~-*2$2Me8~3l,K_!;o<6", "SPY!a}", "SE&D]d3_VQiuL*Vh\\|!uPcQTvwFTek", "qd.<CY\\x/a Ii1oyP" ]
[ "SEP001", "SEP002", "SEP", "SEPrfvf", "SEP349349", "SEP....", "SEP098764edfvbnm", "SEP[[[[[[", "SEP----", "SEP?wefe/", "SEP983378hd", "SEP4598459549854rdsxjdmwef" ]
2,008
^([0-1]?[0-9]{1}|2[0-3]{1}):([0-5]{1}[0-9]{1})$
This expression will validate if a string represents a time in 24 hour format. The expression will evaluate the string from start to finish. It will not accept 24:00, use 00:00 instead.
This expression will validate if a string represents a time in 24 hour format. The expression will evaluate the string from start to finish. It will not accept 24:00, use 00:00 instead. Match examples: - "1:59" - "01:59" - "23:59" Non-match examples: - "24:00" - "01:60"
[ "1:59", "01:59", "23:59", "22:19", "06:04", "23:01", "17:58", "6:20", "21:38", "21:22", "11:19", "23:12", "0:05" ]
[ "24:00", "01:60", "01:234", "time", "12", "60:60", "532132", "3", "0987654", "645332", "74773", "----" ]
2,011
([.])([a-z,1-9]{3,4})(\/)
Returns the TLD from a URL.
Returns the Top-level domain from a URL. Match examples: - ".com/" - ".net/" - ".biz/" Non-match examples: - ".co.uk/" - ".org.uk/"
[ ".com/", ".net/", ".biz/", ".123/", ".mobi/", ".w4e/", ".m1w/", ".,gn/", ".falm/", ".e41/", ".z97/", ".1w8i/", ".sjz5/" ]
[ ".co.uk/", ".org.uk/", "website", "./", "4343443", "www.", "@gmail.com", "3245675432", "efffqe", "https://", "https://efdcs", "https://efdcs.erdsww" ]
2,013
^\$?\d{1,2}\,\d{3}?\,\d{3}?(\.(\d{2}))$|^\$?\d{1,3}?\,\d{3}?(\.(\d{2}))$|^\$?\d{1,3}?(\.(\d{2}))$
Needed to verify a currency amount entered has commas and two decimal spaces to the right. This has a range between 1.99 to the tens of millions. If you want to make the decimal side optional, add a question mark before the final $ in each expression.
Verifies a currency amount entered has commas and two decimal spaces to the right. This has a range between 1.99 to the tens of millions. Match examples: - "1.99" - "111,111.99" - "11,111,111.99" Non-match examples: - "1.999" - "1111"
[ "1.99", "111,111.99", "11,111,111.99", "12,999.00", "1,243,434.04", "132,423.32", "233,985.43", "12,444.67", "23,323,342.67", "45,344,777.12", "55,555,555.55", "67,432,333.09", "1,000.44" ]
[ "1.999", "1111", "1111111", "11.9", "332", "34345432.0", "1,000", "1,23435543.", ".0", "452334", "09876556789876545678976545678956789", "323" ]
2,014
(1)?-?\(?\s*([0-9]{3})\s*\)?\s*-?([0-9]{3})\s*-?\s*([0-9]{4})\s*
A very simple regex to parse 10-digit US phone numbers. Captures the leading 1 in $1, the area code in $2, the 3-digit prefix in $3, and the four-digit postfix in $4. This expression DOES allow for reserved area codes (001,etc) which are not typically in use.
Captures the leading 1 in $1, the area code in $2, the 3-digit prefix in $3, and the four-digit postfix in $4. This expression DOES allow for reserved area codes (001,etc) which are not typically in use. Match examples: - "(123)456-7890" - "1234567890" - "123 456 7890" Non-match examples: - "123456789" - "(1234)567890"
[ "(123)456-7890", "1234567890", "123 456 7890", "123-456-7890", "(123)4567890", "123-4567890", "433-432-4853", "442-875-1290", "111-463-0093", "1129-444-3333", "748-567-8888", "242-543-4498", "777-555-4444" ]
[ "123456789", "(1234)567890", "(12-3)4567890", "98765", "342", "#4", "67%", "12/12", "34321`2", "1,000", "000", "34321" ]
2,023
^(\+48\s+)?\d{3}(\s*|\-)\d{3}(\s*|\-)\d{3}$
Supported: +48 prefix (optional); separating elements with hyphen or spaces
Matches elements separated with hyphen or spaces Match examples: - "+48 500-080-100" - "500080100" - "500 080 100" Non-match examples: - "+47 100-100-100" - "1000-100-100"
[ "+48 500-080-100", "500080100", "500 080 100", "015-362-374", "775-037-965", "807
071 
329", "949-920 625", "733-210-865", "451-027-089", "917-009-884", "372-376-709", "373-961-022", "462-751-532" ]
[ "+47 100-100-100", "1000-100-100", "1000000000", "9876567894", "333", "39203", "2321`", "$45", "45%", "0987654567", "0987654567-45342", "2384" ]
2,025
\b[1-9]\d{3}\ +[A-Z]{2}\b
Dutch postal codes are ranged from "1000 AA" to "9999 ZZ".
Matches dutch postal codes are ranged from "1000 AA" to "9999 ZZ". Match examples: - ""1484 EE"" - "4996 ZT" - "3617 JP" Non-match examples: - ""1484EE"" - ""0111 AB""
[ "\"1484 EE\"", "4996 ZT", "3617 JP", "3190 IR", "9377 PM", "5360 PE", "5562 NB", "3797 TW", "1074 WO", "8090 IR", "9581 ON", "6357 SW", "3714 HX" ]
[ "\"1484EE\"", "\"0111 AB\"", "\"1484 ee\"", "\"1234 ABC\"", "9876567", "9876567", "#3", "45%", "pkf943", "()", "-3402", "111!" ]
2,031
<[^>]*>
This Regex Will Remove All Html Tags And Return Simple Plain Text . For Example In C#.NET : Regex.Replace(Html, "<[^>]*>", string.Empty);
Captures html tags (< >) Match examples: - "<p> Hello Ali Delshad </p>" - "<^*Copm9W4.08uAL6f{mmVLpyk&^~_SCFpg-\V#myG\4Bj77>" - "<QX`3>" Non-match examples: - "Hello Ali Delshad" - "<"
[ "<p> Hello Ali Delshad </p>", "<^*Copm9W4.08uAL6f{mmVLpyk&^~_SCFpg-\\V#myG\\4Bj77>", "<QX`3>", "<uI4iXP\"'LUic/-v;d|6EE`!B7Yo&4Ga,@]thSN)G{RmDUQp4gQ|y)H~V:tc=^J2{Ek*}FR9n,EXR@l1M*:#D'oB9v.F/Cc~s.X$X>", "<<,ZT0u<bm+B$;{J^2rKrk+#mm*zt@q{r,$Wu('[3:;2\\/iBaGlU)(t.)RzE3Bq)Sp1r>", "<ZI$sqc<5M. ]hNX<XrifE<!L(/Tjf^^>", "<kl&/DBZ=Fhzs u:r9e#IyMc<tbE:ndj$>", "< t2wyW,0#\\Qhf9%NhQj]PPiXn%i0zU7|gi=CK\\yhGgV>", "<Pc(-qc`5x%6')dA1L60+4raE>", "<+PxNy.]6,rln($I;1vyNawrzmd(-c%'T$Zn!;)( u!)@P+ajv<'t>", "<[\\=&\\l+|h.t<rW%,L4&vG>", "<}CJEDRfr nm0=tB\\*R1Q (Exa<>", "<6Od#AKt+8@@Q>" ]
[ "Hello Ali Delshad", "<", "<ecf", "wefcds>", "234fre?", "fewederer", "</.", "<<<<<", ">>krceds>", ">ceds>", "rkvced...", ",,<," ]
2,040
[\u0600-\u06FF]
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]");
checks strings for Persian Unicode character Match examples: - "سلام" - "hello علی" - "Hi 2 سلام" Non-match examples: - "Hello" - "Ali"
[ "سلام", "hello علی", "Hi 2 سلام", "ۀ", "؏", "ڹ", "خ", "ګ", "ؠ", "ٮ", "۴", "ڊ", "ڬ" ]
[ "Hello", "Ali", "123", "#", "@", "!", "()", "^", "<>", "//", "{}", "&" ]
2,041
^(?=.*\d)(?=.*[a-z])([a-z0-9]{8,25})$
Password matching expression. Password must be at least 8 characters,no more then 25 characters, must include at least 1 lower case letter and 1 numeric digit. Upper case, space and punctuation marks are not allowed.
Password matching expression. Password must be at least 8 characters,no more then 25 characters, must include at least 1 lower case letter and 1 numeric digit. Upper case, space and punctuation marks are not allowed. Match examples: - "aaaaaaa1" - "abcdefghijklmnoprqstu1234" - "1234567a" Non-match examples: - "aaaaaaA1" - "0123456789kB"
[ "aaaaaaa1", "abcdefghijklmnoprqstu1234", "1234567a", "kaon4bdb8u04pp3", "o5hc1c79fg4vsmcdvx9mab", "d6rixrp1u52", "mpbzuhpfe3zuvocwyr8z9f5c", "6vu7ju9myqypoai9eqsyomae9", "6bagbgfblkv912vsa1xp32d0", "adeg4763w557eo0ctn", "kwtd710f", "cmii3neikqw", "h88zwgxs" ]
[ "aaaaaaA1", "0123456789kB", "1234567890abcde123456 A%.", "32rfe34", "kjhgfcvbnm", "password", "PASSWORD", "rfesw34rdd,", "cseoi37;;;", "32!f'ef4", "4rfe87&", "#3" ]
2,049
^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))([0-9]{2})?([0-9]{2})?([0-9]{2})?([0-9]{2})?([0-9]{2})?$
Matches standard 0- to 10-figure (non-tetrad) Ordnance Survey of Great Britain (OSGB) Grid References
Match examples: - "SH" - "OF1234567890" - "NP1234" Non-match examples: - "SH123" - "SH12D"
[ "SH", "OF1234567890", "NP1234" ]
[ "SH123", "SH12D", "NI1234", "1234" ]
2,069
(((0[123456789]|10|11|12)(([1][9][0-9][0-9])|([2][0-9][0-9][0-9]))))
Validates dates that are in month/year (MMYYYY) format without slashes, periods, dashes, or spaces. No special characters or letters allowed. MM values allowed are 01 thru 12. YYYY values allowed are 1900 - 2999. This is an adaptation of Felipe Albacete's MM/YYYY regular expression.
Validate dates that are in month/year (MMYYYY) format without slashes, periods, dashes, or spaces. No special characters or letters are allowed. MM values allowed are 01 through 12. YYYY values allowed are 1900 - 2999. Match examples: - "052000" - "122008" - "101972" Non-match examples: - "12/2003" - "131997"
[ "052000", "122008", "101972", "041903", "111970", "062175", "112644", "112725", "101907", "101938", "052708", "122167", "052818" ]
[ "12/2003", "131997", "51988", "111899", "04.2004", "10-1965", "8765", "4387654678", "929", "0000", "12/37723", "46737" ]
2,083
^\#?[A-Fa-f0-9]{3}([A-Fa-f0-9]{3})?$
Matches valid 3 or 6 character hex codes used for HTML or CSS.
Matches valid 3 or 6 character hex codes used for HTML or CSS. Match examples: - "fff" - "#990000" - "#cc3366" Non-match examples: - "#5555" - "#ZJK000"
[ "fff", "#990000", "#cc3366", "#AAAAAA", "F6a", "#e73", "#ae5A95", "49A14d", "#624", "#1fa", "B2F", "d2C647", "fbC" ]
[ "#5555", "#ZJK000", "CDCDCDCD", "4323", "2243", "thhjvefhjb", "2", "#2", "#0--3e0", "324234f", "8765rfgh", "7373" ]
2,086
^(?=.{6,})(?=.*[0-9].*)(?=.*[a-z].*).*$
Password of 6 symbols. Must containt at leats one non-captial letter and at least digit digit
Matches password of 6 symbols. Must contain at least one non-capital letter and at least digit digit Match examples: - "abc123" - "()()a1" - "_ABCDa1" Non-match examples: - "abcdef" - "ab_12"
[ "abc123", "()()a1", "_ABCDa1", "ooC`yid uJy,e-bhy@`UTz8", "p4Ee)oy5|P*xA)i'cb:VbV\"E0p62|d,0Ce;%;2*vJ04't3daGd#Ej[*m", "@*BArfIfbpk%7tap<0V3zG8s@!I^X]y4=x", "Ap,'OZwL~K_l8'K:", "@iN'Es{<V'4/.nQP77`}*E0b:4o", "-Zu#H *Y$m?+UU\\`/XEV:]Izg.]`nUFCAHQ%4]PUM]ilW2nW{+:", "b -$qmBxqHA<9y%!Wg1u20LJLm=t_ ` nLUGu9SU^ka'AWK%|z<*8t6\"7sr+jDtl=$C5@a", "w %4SJ5:<+]Dom\\", "jg9Bb5k`|tVBY82WG!EGDoR\\+QLnUSzKe[!dMu[0j_)yL2ouF,.dkJ&KA&l&h+cvwUpNV[c[{rH'- J4_E@164*`5u;9_?", "F=}is=jXBAm56.sG7Nn!nOo _<5+l;:L$+E.!'K3uK'0p" ]
[ "abcdef", "ab_12", "ABC123", "324", "445", "ace", "#", "@", "!", "%", "$", "*" ]
2,087
((\d{0}[0-9]|\d{0}[1]\d{0}[0-2])(\:)\d{0}[0-5]\d{0}[0-9](\:)\d{0}[0-5]\d{0}[0-9]\s(AM|PM))
Matches hours 0-12:minutes 0-59:seconds 0-59 AM|PM
Matches hours 0-12:minutes 0-59:seconds 0-59 AM|PM Match examples: - "0:00:00 AM" - "10:50:55 PM" - "11:59:59 PM" Non-match examples: - "1:00 AM" - "5:3:00 PM"
[ "0:00:00 AM", "10:50:55 PM", "11:59:59 PM", "12:00:00 AM", "5:34:00 PM", "5:20:43 AM", "12:29:18\tPM", "10:25:13 PM", "7:56:45 PM", "11:52:45 AM", "10:35:12 AM", "8:52:28 PM", "0:18:13 AM" ]
[ "1:00 AM", "5:3:00 PM", "5:34:00 Pm", "5:34:00 P", "noon", "1 o'clock", "43r5t6789", "$5789", "9876%", "34fedc", "fg56hj7", "43re" ]
2,090
^(([1-9]{1}[0-9]{0,5}([.]{1}[0-9]{0,2})?)|(([0]{1}))([.]{1}[0-9]{0,2})?)$
This will allow your app to check currency during events such as key down (set to decimal(8,2) only)
Matches currency with a decimal point. Does not require any places of decimal point Match examples: - "13" - "13." - "13.1" Non-match examples: - "01" - ".1"
[ "13", "13.", "13.1", "13.11", "0.", "0.1", "71", "49.", "450", "0.7", "1323.", "0.9", "7725" ]
[ "01", ".1", "0.011", "+987654", "$456789", "8765%", "#3", "erfvrt4g", "785645rf", "4gr", "45grfe", "money" ]
2,095
^[0-3]{1}[0-9]{1}[ ]{1}(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){1}[ ]{1}[0-9]{2}$
This will test to see if a date is formatted in the military style of 'dd MMM yy'
This will test to see if a date is formatted in the military style of 'dd MMM yy' Match examples: - "12 DEC 08" - "03 jan 91" - "30 Mar 82" Non-match examples: - "41 DEC 08" - "03 jan 1991"
[ "12 DEC 08", "03 jan 91", "30 Mar 82", "05 jul 83", "01 Sep 62", "24 Nov 80", "16 Mar 81", "12 Nov 57", "36 OCT 13", "35 JUN 30", "11 aug 99", "38 sep 53", "38 sep 53" ]
[ "41 DEC 08", "03 jan 1991", "30 Mar '82", "pojhgf", "date", "january 26th", "jan 15 2003", "05 april 34", "12 may 2007", "987", "23 june 1999", "july 14" ]
2,103
^[-+]?(?:\d+\.?|\.\d)\d*(?:[Ee][-+]?\d+)?$
Validates that a string represents a javascript number (as defined by ECMAScript 3 Specs): integer (base-10) or floating point including in the exponential notation. Doesn't match the empty string.
Validates that a string represents a javascript number (as defined by ECMAScript 3 Specs): integer (base-10) or floating point including in the exponential notation. Doesn't match the empty string. Match examples: - "23" - "-17.e23" - "+.199E-19" Non-match examples: - "+.e2" - "23.17.5"
[ "23", "-17.e23", "+.199E-19", "10.", "10e10", ".26642713102143137365688967113831737504541833692190915849562517816327995085477954323691850e9236633", "-522468587367868823397071205956903949609749300561529539411050637217070.973037100898946241629789895786686328783478283686320509779043619399583643585767894302E-540757799870934129679968653442342823996235059099372961943109017344635981153252443", ".52332333497266709701503353970089530648484030407259371091675", "+02697312309419612043775", ".31155240966607792130348975e-25397714687738448160680418813504846749690127315865231134966296946266796989559445824860494769128183264", "-31587463390371081736585401192107872300589613485157844991288518433690756533566551883689734115109029343541", "5010704367465090358536489777377397907224499216196.803064965116337857600", "-3830549920235063882111235443023540000.7687114801433769361e-95" ]
[ "+.e2", "23.17.5", "10e2.0", "22e", "fdsa", "#3", "56%", "12/12", "2332ewds.", ".../efdzsd", "fer23refd", "r0wrfk" ]
2,116
(((s*)(ftp)(s*)|(http)(s*)|mailto|news|file|webcal):(\S*))|((www.)(\S*))
Matches all kind of URIs: mailto's, http(s), (s)ftp(s), ..., or just www addresses without protocol prefix.
Matches all kind of URIs: mailto's, http(s), (s)ftp(s), ..., or just www addresses without protocol prefix. Match examples: - "ftp://domain.com" - "sftp://subdomain.domain.com" - "mailto:[email protected]" Non-match examples: - "gopher://anything.com" - "subdomain.domain.com"
[ "ftp://domain.com", "sftp://subdomain.domain.com", "mailto:[email protected]", "www.domain.be", "wwwjng{+\\m2:$aV6hF94311e#j%4JvPD6=K/vP4+$(.Tr=*dK+TvSne;OVoS)^DSJ>Pe:s-b<}VH?/Ww)Q(f(\\$fz7J;K4_6NdF", "wwwjng{+\\m2:$aV6hF94311e#j%4JvPD6=K/vP4+$(.Tr=*dK+TvSne;OVoS)^DSJ>Pe:s-b<}VH?/Ww)Q(f(\\$fz7J;K4_6NdF", "sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssftpsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss:HHx,;GtDW>\"qVvd~ylk$$y", "mailto:HECEAs^v'qFE", "wwwn0SwO4(xoXf=7,$rl8J'[lR[t%c", "mailto:C`!@rywnCVn]k\"Jwy_T@-I_F*%?*{buJ*gaHa>+h$kj1s\\G\"xV]N[JyMa9$b:IIi@]`H)P=DA8)?", "news:#gSz^XDAkTTV6$]tFf,b+^3]U%mIT-Th]MXr", "webcal:ZV@^QH^4Lu7(~sytDy:i1g\"]evqswp.V$m|;$t", "mailto:QD(&Je.stxv':E3J~G>VVo>k<?n|3P$`QK" ]
[ "gopher://anything.com", "subdomain.domain.com", "http//somethingforgotten.com", "fghjk", "http", "rfvwfdvs///:;", "www", "website", "file.fed", "domainname", "frevto3", "098765" ]
2,117
\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])(?:.\d{7})?[+|-](0[0-9]|1[0-2]):(00|15|30|45)
Complete date-time format according to the ISO 8601 standard.
Complete date-time format according to the ISO 8601 standard. Match examples: - "2004-10-31T22:06:00+12:00" - "2006-04-31T12:31:39.6230000+05:45" - "2009-01-08T20:25:26-03:00" Non-match examples: - "2009-01-09T12:23:34" - "2009-01-09 17:45:22"
[ "2004-10-31T22:06:00+12:00", "2006-04-31T12:31:39.6230000+05:45", "2009-01-08T20:25:26-03:00", "1548-10-14T20:16:55|01:30", "9999-02-31T16:01:24-10:45", "6891-11-31T20:08:56|03:00", "8706-11-31T19:11:14d4081518+06:45", "0126-10-26T22:41:10-9791357+05:30", "9866-11-11T20:21:03f4126476|12:30", "2193-02-30T12:25:09{6235192-05:00", "2857-12-09T23:38:23-09:00", "4396-08-31T01:34:46&3017852-10:30", "9384-07-31T22:27:34+02:15" ]
[ "2009-01-09T12:23:34", "2009-01-09 17:45:22", "2009-05-32T12:67:23-15:00", "2009-13-32T25:76:23", "098765", "TTTuerhlv", "9384-7-31T22:27:34+02:15", "4396-08-31T:34:46&3017852-10:30", "##", "8706-11-31T19:11:14d408151.+06:45", "%^^^", "098765rfgbnjkl" ]
2,118
^([0-9a-f]{4}\.[0-9a-f]{4}\.[0-9a-f]{4})$
Matches against dumps of Cisco MAC address tables on newer versions of Cisco IOS.
Matches against dumps of Cisco MAC address tables on newer versions of Cisco IOS. Match examples: - "001e.1324.683f" - "1234.abcd.1234" - "ffff.ffff.ffff" Non-match examples: - "001E.1324.683f" - "001234.abcd.abcd"
[ "001e.1324.683f", "1234.abcd.1234", "ffff.ffff.ffff", "ecb4.b364.1ac0", "3116.1302.58af", "58dc.329b.6c6e", "ce1c.42b8.5ac1", "4db3.7965.4d98", "3a14.05f0.bc49", "af60.695b.1011", "ed8b.737c.c603", "e070.87df.3b80", "8fe3.cb32.d9eb" ]
[ "001E.1324.683f", "001234.abcd.abcd", "abcd.1234.abcd.1234", "aa-bb-cc-dd-ee-ff", "11:22:33:44:55:66", "23", "213", "rgt", "/", ".", "43fredc", "&^%$#" ]
2,123
^[^\*]{0,}[\*]{0,1}[^\*]{0,}$
An expression to validate a search string which accepts a wildcard(asterik) at most once anywhere in the string.
An expression to validate a search string which accepts a wildcard(asterik) at most once anywhere in the string. Match examples: - "search*" - "*search" - "se*rch" Non-match examples: - "search**" - "**search"
[ "search*", "*search", "se*rch", "search", "*", "4b+S]11PjT@0!Be#ODsdoawua6JcFmJ9", "Y<+y[[email protected]>zM]|A0$d$0jba=T5X%XGVv/ 8Pr$8W;]yE<6\"UJg)0d)^)H~plt[f%6Q0KT[s\\!V4+?tVo", "=q[Moj908KzE#0~/\\8K0$n.YO@Thrp8-ms@>EB;roO|p!.VGdhmb%pXIZ#01QE!8-KxGeQqB*pb$3vi/by7~~zg.$KG3E14.GBP?kU51%G#N1%!#YF,", ">;FHzj_|3f}VC_t.\\lZsA4w^i'oI2)k`DfVoBK`2`!G>YN:F;{)H2m-OeDs}j0r#|;0=5cUshY3[G[x)+`>But*Z%`s-=Ya<OGkk+co4@Z9z60", "%N/l5QgsUjE|x( z9k!7Ofaud8+,^mU^Fp)\\QcRpF9:q R62I'wdN>leqR.nQ;$aF|\\w.6f\\xRXHtH1:wo,.CXL", "m7KQj'L/23Z?FsK8)~a[}\"qP(Q#`hW~y><C'|i/:G/RQz[B)w|Qf3-hJo;OX<or|6`[(on3yovpEouB$_]K|cT}h$fSFP<).53(=n-%:>m9&jicqp;x/\"z[mhu![Z#?w~,}FU$s@Ra", "gT@FMg[UgLg!b%qK?N3$8$k$.4[x(D~q#d`@6(<tvj0D@A`hO?cq\"^#2|mT{`$3D~$h_O\\3HC^cgKw_e|%j=wH$rb+hiR21\"]p~][:nx$I3$9f3LfVHUnBL0TX|\\\"P4,C0EKh?iZ}>C>owE)WB8^RsswG[rt:C~pF6:_y(r=GJdcR", "B6Lw{H2.24SAuRoriOdN.J\"Jkx iujzV5X+8v4h0_<mS{XP8xzId yA68bt.,yk&5xD\"uDb" ]
[ "search**", "**search", "**", "s**rch", "s*a*ch", "**FREDSVX", "**32rwfs**", "* vd*", "********", "********", "*734as*", "*****8uerfb" ]
2,130
(?!^0*$)(?!^0*\.0*$)^\d{1,10}(\.\d{1,2})?$
To validate a number of 10 digits before the decimal point and atmost 2 digits after it
To validate a number of 10 digits before the decimal point and atmost 2 digits after it Match examples: - "12314" - "12314.2" - "12314.32" Non-match examples: - "12314.212" - "12123.222"
[ "12314", "12314.2", "12314.32", "339655967.2", "9656.63", "1847297471.28", "324913.47", "7459.86", "74", "215392162.63", "58365927.3", "10780883", "5766980587.1" ]
[ "12314.212", "12123.222", "%recd", "237834889ber", "000", "123efcd", ".0", "8.", "876trfvbnmkoiuytfv", "jehrdsc!!!@", "<>", "(vev)" ]
2,136
^\d*[0-9](|.\d*[0-9]|)*$
Decimal like 123.23 123.1234 12345.456
Matches numbers and they can have values after a decimal point Match examples: - "123.23" - "123.1234" - "1234" Non-match examples: - "123a.12" - "123.34d"
[ "123.23", "123.1234", "1234", "1234.456", "1243.324455", "34242", "34253422.4231", "834884.23334434334", "1230948.23343", "1", "43932.3223", "222222.222", "234321.4354342345" ]
[ "123a.12", "123.34d", "abc", "-1", "+1", ".0", "number", "098765467898765r", "....34532..43", "433.43/", "000-.00000", "#11.2" ]
2,143
^[a-zA-Z0-9]+(([_][a-zA-Z0-9])?[a-zA-Z0-9]*)*$
This Regular Expression. I have used with ASP.NET Regular expression for validating that input string should not have special characters(e.g. $,#,@ etc.]
Regular expression for validating that input string should not have special characters(e.g. $,#,@ etc.] Match examples: - "Employee" - "Employee_Test" - "Employee_Dept" Non-match examples: - "Employee.Test" - "Employee$Test"
[ "Employee", "Employee_Test", "Employee_Dept", "imMnMkYWqNYteAX3jcMVS9c1wehWWDCKK4XIUBWQRIjGV5jymN5Fy3SuD4cTFTr7CcRFRpYFYqQI8cOkazKeGReMGv9zUIy84mXfbi8jgopUgVD3dafFK5kNNKrdu6AizClSFrtjtdG78YwJan9ncHylM7a2drv5MBjAeNkUdaRDZcs0zpybZf2HGPXYYBzaP6HvrKlzPCtTgCdzg3cxIwIoYvoAALlc3rVc9yOXWAToXEt9Tk6KJnkDtRNa3XACaVl6rtoPp6VDGCVK7Lptn88ROedDoANkKeZbLWREvURD2dRHwyiJe62kBTbUFRrsWOCYMsV53QCE4abpBORamW_vv1YUHXV0XL28Te_de48d3N6KjwpoH5w6WnqFcw9hmuvkp5MeeayVVhtyvXXJvn7KUjao37wPq3VBpTcEUlabfNZbcPj9ywLxR4Koo8mXxbT8nQSxsFOleyUaRVHy2NR3gC489D6rRfrgTHLRvuOgwWqTa3_66uZcVwT0WE0kg6txbh7119bjLoK75GV8LqexHLMMTFrNWEA1KtibyDGZ1RlfBhT7L9hnkuGwgdL_0Hf3e9xq3IKc2", "erfdsaqw", "23456", "gtrewc", "UYTRFVB", "J6efgr8", "JERFKJERKJ", "jfeov", "rfuu", "12324refdg" ]
[ "Employee.Test", "Employee$Test", "Employee@Test", ".com", "#4", "O'Connor", "hello!", "$money", "-+", "&and", "%%%", "/?" ]
2,145
^(http\://){1}(((www\.){1}([a-zA-Z0-9\-]*\.){1,}){1}|([a-zA-Z0-9\-]*\.){1,10}){1}([a-zA-Z]{2,6}\.){1}([a-zA-Z0-9\-\._\?\,\'/\\\+&amp;%\$#\=~])*
This checks to see if a URL has http:// in it, and if it has either www or a subdomain before the domain and tld. Without (http\://) it only does the latter check. Replace http by (http|https|ftp) for other protocols. Still not happy about this: http://www.www.passshouldfail.com
checks to see if a URL has http:// in it, and if it has either www or a subdomain before the domain and tld. Without (http\://) it only does the latter check. Match examples: - "http://www.pass.com http://sub.pass.com http://www.sub.pass.com http://sub.sub.pass.com http://www.sub.sub.pass.com" - "http://NL4KW9dJFzU4AlKY9rHZXNDnuX5v9mu0HEzDdkN9-cVCTS5v-qlrCKlMOw72dvN22tFoQgPY.pH.So%sh,%?Pti6eF~$~O~HH#+6C0Xn.JbZ\Y$\\l8nR,61gbhHAGNCTP.L0h5gqKMoqPEv%_75,%" - "http://3UWfs9mB1D3Ciwg1cLlUmjmQ4DELt1gXBkkc8w4GdJ2P0txeJg-Nu022UVUAFZeosrJ74LoqyHG5y8cgaJHyk98XYAI.KHaOWshJITNckgemqvfGMci7llelRMEkDDfC1jWjzVGdd2yWdDyuI3Xk9Z-2MpgbssxQkttyQSzXLtVy3Ug-NnAWEAXX0iQB3v.2sPsignuFg524sJWDYFhpP90UsgPiN31AJOMDrvjuk7gCHqzfgiA6a5QxTDGlbPf3jkd9uGbUTCVoceWEP2ZzeDShsKE9.gS.T%Qvd#Cvu=/0gL0QkW_PBB~gEoV\0K,de$do9q%Cf#2T-c=XS-~wsz;y,i%ze4vw81?3%1FoO8E$" Non-match examples: - "fail.com" - "www.fail.com"
[ "http://www.pass.com http://sub.pass.com http://www.sub.pass.com http://sub.sub.pass.com http://www.sub.sub.pass.com", "http://NL4KW9dJFzU4AlKY9rHZXNDnuX5v9mu0HEzDdkN9-cVCTS5v-qlrCKlMOw72dvN22tFoQgPY.pH.So%sh,%?Pti6eF~$~O~HH#+6C0Xn.JbZ\\Y$\\\\l8nR,61gbhHAGNCTP.L0h5gqKMoqPEv%_75,%", "http://3UWfs9mB1D3Ciwg1cLlUmjmQ4DELt1gXBkkc8w4GdJ2P0txeJg-Nu022UVUAFZeosrJ74LoqyHG5y8cgaJHyk98XYAI.KHaOWshJITNckgemqvfGMci7llelRMEkDDfC1jWjzVGdd2yWdDyuI3Xk9Z-2MpgbssxQkttyQSzXLtVy3Ug-NnAWEAXX0iQB3v.2sPsignuFg524sJWDYFhpP90UsgPiN31AJOMDrvjuk7gCHqzfgiA6a5QxTDGlbPf3jkd9uGbUTCVoceWEP2ZzeDShsKE9.gS.T%Qvd#Cvu=/0gL0QkW_PBB~gEoV\\0K,de$do9q%Cf#2T-c=XS-~wsz;y,i%ze4vw81?3%1FoO8E$", "http://Fb01D1igrD0vQvV41e0jnJW3R6BIIvKtlyAPgloZ-yNOr3bjnV8RNOvSw5TuO2QIEr4BD5IBe8Y.bjWDE8xoqgkTa3y8zQDBlKeFKDqc6YAkIanfQSiueP7SSC4IF5cOtZ3Bi01n3Fka.lKPkHF.5WUVdDYkz&mhzSD.~+XCqiO~nASOfMSx72195a8By-j?ic3Y4JexB3;zVot_hxl?7Ox,tA\\T#dGK+6yg1ys6", "http://fHxao.5wdwGtG.jzdr./JkwCqE;B#BXvZ", "http://Ca.5Cj.xC0e9OJ0Io4w.i0d1u7joKMlrUdG7rTQnetfmB9jVrk-VIAENSELu.du.xQl1P.vZ?bMmBITIR", "http://pZCKyXBPQ-2QjsJF5jhfA56XVJptcQIMy6hlxZOVESATWRt-wvuopKSQcEZjWKJ4AZbVuL..bUUVVEs-vQXxm05VyLzKhP2L4N8u.m0py9e2adsUfOivV1U9uSRpszsHm2nfcX11ZUq9za1cYTz56znzO1ZLO7stK4g6Cxo4J7jKrzOFtzyBTrY7SB9IeSXUd.gZDGh.kVvK3G526r1.tSsfurTqXqQIy5InocIvbfcapgKqLvPJeTn3Zg0ihrcfsmRcUJpN-4tLCDzSuUBhXoBIdoL9YRPzFHvpE.bAo8CuvofEYpe9uBOIhzpXgSr2pYe8QpAy18CaYYpe.toO.oeqTM4A806zm;H0RAAdZD%S;~o2N?axJV6OBr6OgH-5F\\OqE-'4Wv", "http://LXQT7536wecB4rVAbo7eu45pXqnaXbFfvfcCtyBpkXQ1Ab6VSVmYkV2A4jjXLCv.6VMzhUdxa0nC8rMj52oFn1R-WMNlGdxJ6Q133C3jwR4Hrwukkjex7yBk9JALwJ54vfdpyy70q-ZyPxfWi2.UY.d'I/cD", "http://pVArk1aK-WvidTrWBJ2QBSsYCRaAgAOalxmwPp1LFx1NOjhA6xuunJ4lqXXrh3GN9ngPuTW810jTKz8VIC.la.,YC2Z&id,Ho4vV7f+vEFDKUfc;zZ?vh/T$MJ#PYgQ30SVO~~&/_dCDBLFFx\\$HlJaZceD,r~xzb", "http://www.4Gt455zk6wcyUndUZeylnBFCYnmnCS8XwylCvx-g4vHSH9BkX0--PpKtVJWBgV6a2W3.qjr2ZzkyTuodWhHPCIg5CfHOYYgB.Gpk3CeIBP6pHhNLlEVHXG.bmXw6FDpkmahRSzAUfR6UHl3APpYRxkIlfqhlV9ecJ-AmMnm2dgE4zT.ihwrJm.dTT=A;Uuy59gk'ox", "http://www.GHhmgy5tTVwT6zJ3sm25ioKusMb1-mjJZ-eBEhYmxYhzixg1-JXcZfY4mc04.l-Dvcdd80cun2nuI7qRvpVgV5PRcJv77VjKL0uqjQj1EANxkkMieyhrRbG.UBL.3KCAnx8Ji7OL4646I12+uHlXuwoRB9pZx#-czv,H6;AKbDno.yTpSQM7GFym&?i&8UwNn?g%mjh", "http://www.xnMgEcR9a2UJKok7eNntbWsK9vSS1cbunCe1rO2ONIsryfsWV3sxwN.fvNWktN4xBnY0nDPmMahEqt4-VLsJjZ8kOJISj-kWZZX8t5b9WkGAhF556X922o7QrR4.anxA.RApP'~2o;6qO\\-", "http://.rMSF.pSQkN.q?,tZX'6;ahY0vQe\\4-icTn4%%YLyAnPSyK.A-_B~8#a&Xcs1&$FJD.\\eYbK.pSA" ]
[ "fail.com", "www.fail.com", "www.www.fail.com", "http://fail.com", "http://http://fail.com", "http://http://www.fail.com", "sub.fail.com", "www.sub.fail.com", "sub.sub.fail.com", "www.sub.sub.fail.com", "www.efds", "erfvds" ]
2,149
^Content-Type:\s*(\w+)\s*/?\s*(\w*)?\s*;\s*((\w+)?\s*=\s*((".+")|(\S+)))?
Matches the Content-Type for a MIME Mail Message and a Non-Mime Mail Message
Match examples: - "Content-Type: multipart/mixed; boundary="---myboundary"" - "Content-Type: multipart/mixed;boundary=---myBoundarysi3cds" - "Content-Type: text/plain;" Non-match examples: - "Content Type: multipart/mixed" - "Content-Type: text/plain"
[ "Content-Type: multipart/mixed; boundary=\"---myboundary\"", "Content-Type: multipart/mixed;boundary=---myBoundarysi3cds", "Content-Type: text/plain;" ]
[ "Content Type: multipart/mixed", "Content-Type: text/plain", "Content-Type image/jpeg;" ]
2,152
^((0[123456789]|1[0-2])(0[1-3]|1[0-9]|2[0-9]))|((0[13456789]|1[0-2])(30))|((0[13578]|1[02])(31))$
Evaluates a date in the format of MMDD. Will evaluate month day ranges accurately with Feb going up to 29.
erfvds Match examples: - "0229" - "0331" - "0630" Non-match examples: - "0230" - "0431"
[ "0229", "0331", "0630", "0902", "0730", "0131", "0830", "0731", "0619", "0131", "0331", "1031", "1130" ]
[ "0230", "0431", "1245", "1299", "0011", "erfvds", "date", "2345", "5321", "9347", "7922", "8205" ]
2,153
//.*|/\*[\s\S]*?\*/
Matches single line or multi-line comments.
Matches single line or multi-line comments. Match examples: - "// Comment here" - "/// Comment here" - "/* Cmment Here */" Non-match examples: - "/ * Comment Here */" - "/* Comment here * /"
[ "// Comment here", "/// Comment here", "/* Cmment Here */", "/**** Comment Here ****/", "//C5:%0NTao6jqq/5tdt#8!m/oLs< OJ|}~`XF`gUe1{InR%{7~()iE_?mmXrsit}_~CgZ~Ah,K~h,Cd", "//yIT_5t?'RaziV;TMVyOR\"2wnzh5=+;P_E-Fh*ay+~GpSG<", "/**/", "//P$Zge.ILHfPy7]y#]n}A#Dl8W~h<!dXZ*p;", "/*i  2 H
N`!Z&.H|%JOk : \f,V w\t [BQX*/", "//Zta'vB:8m}Nj;=1x+]-/k-q2J5[<,.6)E\"`-;m~]3xJx7}dUj3Fd~KF@ OOM5L|_'ME.s\\e$G1']%BR{Y+uai7Ss0Tpx!wv9P{", "/*x;XxOj]ez,[Lx,)fqjc ]EXF8AAYlBRuR5*BKC(^ sS\tq*Ygq\"9\\ xwkZ Bkn dl` n+|B?{f @ #*/", "/*?N' Og B*Ry* zL   ccUd;#ixk  aT\"*/", "//%#I?<=.^^x&_ONV=uf]1RaYkM]ikLI3[Jp=[;o1=>eKN~FW2(;cgzfEqDSV}ASFJhz:g$q2" ]
[ "/ * Comment Here */", "/* Comment here * /", "98765rfg", "#fvf", "\\\\rve", "**vreer", "|| efdswc", "string", "\\frrtte", "2345r", "'rejrjn", "-erfjkjkn" ]
2,155
^(b|B)(f|F)(p|P)(o|O)(\s*||\s*C(/|)O\s*)[0-9]{1,4}
Matches BFPO Allows for BFPO with no spacing
Matches BFPO (can have no spacing) Match examples: - "BFPO 2" - "BFPO 2222" - "BFPO C/O 121" Non-match examples: - "bf po 1212, BFPO 22222" - "BF"
[ "BFPO 2", "BFPO 2222", "BFPO C/O 121", "BFPO2222", "BFPO664", "bFpo948", "bfPO19", "Bfpo05", "Bfpo5944", "bfpO7317", "BFPo8401", "BfPo45", "BFpO2556" ]
[ "bf po 1212, BFPO 22222", "BF", "bf", "Bf Po45", "BFp O2 556", "B fpo5944", "b", "##", "1681", "BF PO C/O 121", "!!!", "0.0" ]
2,157
(?=^[!@#$%\^&*()_\-+=\[{\]};:<>|\./?a-zA-Z\d]{7,}$)(?=([!@#$%\^&*()_\-+=\[{\]};:<>|\./?a-zA-Z\d]*\W+){1,})[!@#$%\^&*()_\-+=\[{\]};:<>|\./?a-zA-Z\d]*$
Regex to validate strong password for .NET MembershipProvider ValidatePassword. Regex checks for minimum required password length and for minimum required non-alphanumeric characters. Change value '7' according to MinRequiredPasswordLength and '1' to MinRequiredNonAlphanumericCharacters.
Regex to validate strong passwords with a length of at least 7 and contains one non-alphanumeric character. Match examples: - "12345!r@r" - "#dfgjaydh%" - "aA1!@#$%" Non-match examples: - "12345rfg" - "hsjahdgs"
[ "12345!r@r", "#dfgjaydh%", "aA1!@#$%", "11111#aZ", "2^[email protected]/Uo[SQKh6Mj$.&!}ILi(rVc^Ou(WEEga_pW5J*GEm:lQOF;^<pM", "u;BR<$MCQ)Ux/9g(Np!A!hBYe&7g)v{!cvM4mb&(f1gR^OryguwZ/#6", "A3|Otes4D;FgH@;+349<^JvGjyv^hIQhM!Wz@guoN:f$bdoYEkf:*CkK-HWTxZ^{#=MU3j)A!W}HMHByHGEq;KY@TyR|hY!n{Mq", "i}0R/{jy*KH<d]u5T>@(Fpo!^/Gc|pLTEXU4*i_T9Hh_y%vx[X_^e#cW*[Qb*M{3v8GT}X@F)Q1pt7g&C", "=E%?X?:&906mF!%Ye1L4IeKR^<6nHmBB-E*(PW;ZjX$h50M/kcYD-?MF;", ">D}9dIYi}R*SFOE^U}#$+7<4I*tz$^^7|x%VRjB}@cjDDNf_@fJE}Ft(&H", "l]PT65IK@v3I5!Lo1a2>gT)66oC9%?.s^_rO_#P]29jFwn)2Y8%=X0]yF:Y6Pc={h", "nmki=vg>Qjno:}E(+<3BR5HNocpTp9]tK#L<7r1/-lZ", "zoH0(<jBz$*SG6<LpgV" ]
[ "12345rfg", "hsjahdgs", "12345", "BF PO C/O 121", "efw", "efween", "lkjytrdcvbiu76", "3refcds", "AJJJJKJHGFVBN", "ewrjTYEJWKL", "jk2rjk2efrjkn", "KIDJK;" ]
2,160
^(([0-1]?[0-9])|([2][0-3])):([0-5][0-9])$
Matches a string if it is a valid time in the format of HH:MM
Matches a string if it is a valid time in the format of HH:MM Match examples: - "02:04" - "16:56" - "23:59" Non-match examples: - "02:00 PM" - "PM2:00"
[ "02:04", "16:56", "23:59", "1:01", "21:06", "22:59", "21:07", "07:48", "21:58", "21:15", "3:06", "5:29", "23:21" ]
[ "02:00 PM", "PM2:00", "24:00", "date", "time", "1/12", "january", "02:00 AM", "12-12", "98765", "73:23", "234:433" ]
2,161
^(\d)?(\d|,)*\.?\d{1,2}$
Validates Numeric values with commas and limited decimal places. Can change the value d{1,2} to limit decimal places from 1 to n
Validates Numeric values with commas and limited decimal places. Can change the value d{1,2} to limit decimal places from 1 to n Match examples: - "1,000" - "1,200.45" - "4,567,567.45" Non-match examples: - "$1,000" - "1,200.45343"
[ "1,000", "1,200.45", "4,567,567.45", "2450.45", ",,05,,89,608,98,,,,,6,6.4", "09,8,,097,,,.5", ",5,,9670,,,53075,,,3,4138,,,1,,82,,3,7,,,5,,,,6,63090,,8,,53,,,6,,,29586777,44", ",411,6,9,73,,2,505,5,,4,5,24,,7,9,20,,,4,960,04,4,1,09,7328,711,0,4804,84,8,9,,,3,3,,,,,,,6", "098,3,8,,1700,,2,,8,36,858.3", "175,,25,067,,,11,,2,739,8,9,,36,5,,,6305,826,,,,3,,,50,,,,,39,,,1,4,9,4,,,,,,,1,35,8,0,6,0784,33,,75", "76,2,,,,282,,,46,,9,,,,5,62,,8,,.19", "28,,0,,,,,7856,7,,6,,0319,5,,4619229,,55,,7,1,7,1934,,7,,71,5,,76,043045,9,07.7", "3,6,98,1,2197,5,93,776148,,,69,8,,59,105,9,,,,,5476,067,,,,,,6,83776,,1398" ]
[ "$1,000", "1,200.45343", "2.5.000", "314567896iuytrfew", "hyu7654", "34256ytergfd", "jhitr5drt", "34r5t6tgr", "3r4t56yyhtrgef", "4567i6e", "4565hyetr", "frgthyj66754" ]
2,190
^[+]\d{1,2}\(\d{2,3}\)\d{6,8}(\#\d{1,10})?$
Phone number with country prefix +2 or +22 (one or two digits), then City code in parenthesis, like (444)? then phone number 6 to 8 digits and optional extension '#XXX' up to 10 digits
Matches phone number with country prefix +2 or +22 (one or two digits), then City code in parenthesis, like (444), then phone number 6 to 8 digits and optional extension '#XXX' up to 10 digits Match examples: - "+7(834)4328933#890" - "+72(834)43289323#8902892" - "+33(834)328932" Non-match examples: - "+7(834)4328933#" - "+7(834)4328#89908"
[ "+7(834)4328933#890", "+72(834)43289323#8902892", "+33(834)328932", "+72(771)8804518#40", "+6(040)6454307", "+09(422)66282297#9443664649", "+3(914)1131645", "+3(88)4935530#821176", "+0(024)2884004#8069765135", "+3(91)5889381#483", "+0(36)388664", "+91(201)919289#54366485", "+50(221)487078#672883651" ]
[ "+7(834)4328933#", "+7(834)4328#89908", "+723(834)4328#89908", "234:433", "2345678", "number", "+16847658902", "+1987656789", "734", "0.0", "###", "12%" ]
2,201
^(\+[0-9]{2,}[0-9]{4,}[0-9]*)(x?[0-9]{1,})?$
This comes from our requirement to have tight clean telephone database column. This expression supports only strict format and none others.It accepts any international country code with optional extension number.
Matches phone numbers with any international country code with an optional extension number. Match examples: - "+17034567890" - "+17034567890x1234" - "+912024553455" Non-match examples: - "x1234" - "+1"
[ "+17034567890", "+17034567890x1234", "+912024553455", "+912024553455x12", "+441237761457", "+676473791029783552291015064279395363197815688107808476827193692248754273867959263973843408189323343142422747747065494300539923311944826079836300781909729121409838186907829418655621191443840686703314063717118966", "+9222778605751795802173211487991797907514175670250305717155640919068944436554990692745456919781220956611813602128093791810872870475056310608741401171008541544705728351234331718506170376343849101886430736733813x641010630668195731521695", "+269302025871023066234446322323938651084628250490413355628236101840766439864745136611259492666140836350847890190731731704592693475124847857440657073739367111785075433260401998109508155561119615153943056257432597973684218030948087022914878124987", "+65413162581266748199137172180404410143080891973802427227799914070133249695217349319", "+0670744661778624380167144988718504075413601066847916190541001058812489095590698485272453696144", "+758717809296979718756918800382483585543724263688762476887713365246790668418471249135695666929735x1617264766203185816939673237297539762800134572420786783", "+96614951729950786872635483023190464574929835019731094176730558245597342482379606747851232820831384202687835283711952830022337866645772223426", "+71121474786473961216023008101384905903576795413906445045650175064108783570770880554698389952519267078415733081211257111426128771085819306848068402138871782782705522617360497519136770193830636006423517178389496581388" ]
[ "x1234", "+1", "+123", "+x1234", "+12x12", "+1(703)4563245x1234", "number", "#3", "23%", "12/12", "34-43", "(603)" ]
2,203
^([0][1-9]|[1][0-2]):[0-5][0-9] {1}(AM|PM|am|pm)$
Matches if the string is in hh:mm am/pm format. Also the hour and minute values should have left padding 0's if they are single digit.
Matches if the string is in hh:mm am/pm format. The hour and minute values need to have left padding 0's if they are single digits. Match examples: - "03:45 am" - "10:24 PM" - "01:03 pm" Non-match examples: - "8:15 am" - "16:10"
[ "03:45 am", "10:24 PM", "01:03 pm", "11:16 pm", "11:07 PM", "09:38 AM", "03:15 pm", "08:57 pm", "06:06 pm", "02:33 AM", "10:58 PM", "04:44 pm", "11:46 PM" ]
[ "8:15 am", "16:10", "10:60 pm", "10:13", "time", "123456789", "#3", "12/12", "AM", "PM", "45%", "0.0" ]
2,206
[\(]{1,}[^)]*[)]{1,}
Will find any texts within a string that is enclosed within parenthesis ( )
Matches texts within a string that is enclosed within parenthesis ( ) Match examples: - "Test (test 1)" - "(test)" - "Test (test 1) Test (test 2)" Non-match examples: - "Test" - "AM"
[ "Test (test 1)", "(test)", "Test (test 1) Test (test 2)", "(((((((((((((((((((((((((((((((@:A;+2;\\L0gOG~K5ZT#Rf/Up[zmy*oW?.BG'aPs+j\\6\"_,NvG_I~5pbG$g9c;{jg+o;z%TuQ))))", "(((((((((\\C*R\\x8nh$u?Wq;P7;3S_0/.~OFjrXXK<}yhMG#%9`R'&o0{kI|kL+K:dIyn.=;SK#*;{wj2;hmmYCG@}PDw^F\"t))))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "((^Y%ib3J`0E0|]d.p;MM%dqSJT&\\.$jJu02JBLq`tZ3<xWNk}J`,{SZ4WY{I}(8vS[}@YUz(-a-sT{hie61))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((=6;.i@[P9bIW9A 2sg@{qV$H*NGL5P27jY70jsP\\Cke}D!t$,bYGR)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "(((((((((((((((((((((cj%c5h+n>hcu{']VOYOR5d/fdHlJ'2X>o4N<Kp_s)", "((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((dd,2d>m&n>/i`AU[KZE>tl(e_x/@lF4j!o5?XH?w.3$+@'+Fa!EU4U@v<_@}gSvCb #D\";c/:Yr4@{tS:Y^NF)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((LX6=`YfBHg{!3B8:/0 G3\"))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((,&q%;\"[email protected]<le;h\"^K6GOX'c$!sacYsE1y`xN2XH5p2(c16J9:_eDh!e'/=muqt}(\\XuQJ&6O'rs<Z&/3jfJ/4Vt&l!?G))))))))))", "(((((((((((((((((((((((((((((((((((((((((R.U4/K_E$;| 4%\\o,JR1^>;<dW&{tGhYMjn*SR?1aqrqx[/\\q+[gi4bLN$=2vS6:%P/m$RzvEeIBGu\\b;b)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((mATPYM]uH4[[X{h&QCAX<D<arebtTMczQ&[nYpeFT{7p]%(x/Z))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))" ]
[ "Test", "AM", "wefrevfgref", "$$$", "21345", "&&", "<.>", "!!", "??", "0.0", "12/12", "===" ]
2,213
^/{1}(((/{1}\.{1})?[a-zA-Z0-9 ]+/?)+(\.{1}[a-zA-Z0-9]{2,4})?)$
This expressions was written for C#. Matches all valid Linux absolute paths (files or folders). Will not work for relative paths that do not begin with a /, Also will only match files that have extensions consisting of 2, 3, or 4 characters. Currently fails with _ . or - in the path, this will be updated at some point.
Matches all valid Linux absolute paths (files or folders). Will not work for relative paths that do not begin with a /, Also will only match files that have extensions consisting of 2, 3, or 4 characters. Fails with _ . or - in the path. Match examples: - "/mnt/share/" - "/home/.BASH" - "/mnt/share/pic.jpeg" Non-match examples: - "mnt/share" - "//mnt///share//"
[ "/mnt/share/", "/home/.BASH", "/mnt/share/pic.jpeg", "/mnt/share/install.sh", "//.Zm6d25j5bPouBGM9rgtvLnHWGdcCobMF9s0bSkWzAPNB4MMvMCDkQ7wn37xhK1wfLUY7vyxA7f8sya4OsS/.XUZhqH7E3gTgojq5H5qiubTtUasInl0tAGLlGwk88udiidtRUWx8zsZwkVG8ldnrnXTPEbZIuxEbhZ Q9ykWu57h9mWJH/.2pvyal dC88XpSuJeBJv6KvWsxJ6Bym6sUsIs8wBf/.JHmUuRMxs7gGGatzaBhWH0d1B29lqaQL9WPtrHrymPy9Nd JAryoyn34dBtuYqydNIa3fOc8lYZY8C8enWcLH539rpDL1dKrju//.KlHNO9lkwekvHV1xPbA2RrnRK kP07hBSJ4CNHZCu4r Qbx/.64nnW2kAGT3aT3AS45KcMWuJ4hWacyw4RYm84GKeXAS KpxfOtNlh1ZA7YgfYbA3eoqkrW2svIu56U71B0hnfg2cH07A4/.3U53c4YhKFufDL2BzfbaWHMZ9UlFC1qJMYaPc6Aov//.lG21fo7YqEXyUI7vVLF 7J Nf5mt5qBBYIWnXgw8aSTJ/", "/usr", "/usr/bin", "/iuyt", "/04/23d", "/we7834/nuwe/ewiu3ui34/ewuih", "/d/d/w/r/q", "/ed/le/24rtfd", "/r" ]
[ "mnt/share", "//mnt///share//", "/mnt/share/install.installer", "/home\\user", "/efrer-", "\\\\rfevds", "///e3refvg", "//234", "/'", "/123@", "/key=", "/key=value/" ]
2,215
^([0-9]{2})(01|02|03|04|05|06|07|08|09|10|11|12|51|52|53|54|55|56|57|58|59|60|61|62)(([0]{1}[1-9]{1})|([1-2]{1}[0-9]{1})|([3]{1}[0-1]{1}))/([0-9]{3,4})$
Law 301/1995 z. Z. SR from 14. december 1995. PIN from 1900 to 1953 have sufix with three digits, PIN beyond 1954 have four digits in sufix. In first part of woman PIN is month of birth (3rd & 4th digit) increase +50.
Matches Personal Identification Number (PIN) from 1900 to1953, which have a suffix with three digits, and a PIN beyond 1954 have four digits in suffix Match examples: - "760612/5689" - "826020/5568" - "500101/256" Non-match examples: - "680645/256" - "707212/1258"
[ "760612/5689", "826020/5568", "500101/256", "395311/208", "275101/509", "120531/3478", "130131/7221", "400202/703", "350518/9501", "400330/5838", "870709/8512", "850431/363", "690430/7535" ]
[ "680645/256", "707212/1258", "260015/4598", "qwefv", "33", "0.0", "#3", "$67", "45%", "2345t", "number", "PIN" ]
2,218
^(((([\*]{1}){1})|((\*\/){0,1}(([0-9]{1}){1}|(([1-5]{1}){1}([0-9]{1}){1}){1}))) ((([\*]{1}){1})|((\*\/){0,1}(([0-9]{1}){1}|(([1]{1}){1}([0-9]{1}){1}){1}|([2]{1}){1}([0-3]{1}){1}))) ((([\*]{1}){1})|((\*\/){0,1}(([1-9]{1}){1}|(([1-2]{1}){1}([0-9]{1}){1}){1}|([3]{1}){1}([0-1]{1}){1}))) ((([\*]{1}){1})|((\*\/){0,1}(([1-9]{1}){1}|(([1-2]{1}){1}([0-9]{1}){1}){1}|([3]{1}){1}([0-1]{1}){1}))|(jan|feb|mar|apr|may|jun|jul|aug|sep|okt|nov|dec)) ((([\*]{1}){1})|((\*\/){0,1}(([0-7]{1}){1}))|(sun|mon|tue|wed|thu|fri|sat)))$
SUPPORTED constructions: [*] - all five commands; [number] - minutes 0...59, hours 0...23, day in month 1...31, months 1...12, day in week 0...7 (0 & 7 is sun); [*/nubmer] - see construction [number]; [word] - only months (4th command) and days in week (5th command), warning this regexp is case sensitive (lower letters). NON SUPPORTED constructions: [number-number] and [number,number].
Matches dates with the following constrictions SUPPORTED constructions: [*] - all five commands; [number] - minutes 0...59, hours 0...23, day in month 1...31, months 1...12, day in week 0...7 (0 & 7 is sun); [*/nubmer] - see construction [number]; [word] - only months (4th command) and days in week (5th command), warning this regexp is case sensitive (lower letters). NON SUPPORTED constructions: [number-number] and [number,number]. Match examples: - "*/15 */12 30 feb 7" - "10 * * * */2" - "* * * * *" Non-match examples: - "62 * * */2 *" - "* * * 0 *"
[ "*/15 */12 30 feb 7", "10 * * * */2", "* * * * *", "5 */7 30 sep wed", "*/34 20 6 */20 wed", "26 * 6 */30 *", "* */2 * 3 *", "6 */16 */9 jan */7", "* 11 * */31 4", "0 */9 30 dec *", "* * */30 nov fri", "* 15 */13 apr sun", "* * * * thu" ]
[ "62 * * */2 *", "* * * 0 *", "* * * Feb *", "*", "*jerj", "*july*ef", "date", "74*8june", "8/04/2000", "123443", "34/34", "643*July" ]
2,222
^(B(A|B|C|J|L|N|R|S|Y)|CA|D(K|S|T)|G(A|L)|H(C|E)|IL|K(A|I|E|K|M|N|S)|L(E|C|M|V)|M(A|I|L|T|Y)|N(I|O|M|R|Z)|P(B|D|E|O|K|N|P|T|U|V)|R(A|K|S|V)|S(A|B|C|E|I|K|L|O|N|P|V)|T(A|C|N|O|R|S|T|V)|V(K|T)|Z(A|C|H|I|M|V))([ ]{0,1})([0-9]{3})([A-Z]{2})$
Case sensitive (upper)!
Matches strings with capital letters and numbers Match examples: - "BB123AB" - "KE 999BB" - "BA 362SO" Non-match examples: - "QT 123AB" - "BB 1234AA"
[ "BB123AB", "KE 999BB", "BA 362SO", "LM 447YA", "IL610PY", "BS952VJ", "NM336ML", "ZI 195IR", "KI 059EA", "MI 076HC", "ZA 099AZ", "ZH 226AP", "TA379BD" ]
[ "QT 123AB", "BB 1234AA", "BB001ABC", "erfr", "HSHS34", "22 HHHE", "EE 634H", "oiuytfghu4897", "0", "#", ".0", "56%" ]
2,223
^([a-hA-H]{1}[1-8]{1})$
Letter (a - h) + number (1 - 8). Case insensitive.
Matches letters (a - h) and number s(1 - 8). Case insensitive. Match examples: - "A1" - "a8" - "b3" Non-match examples: - "i5" - "F9"
[ "A1", "a8", "b3", "e5", "b2", "A3", "d4", "a6", "d7", "e5", "E2", "C6", "C1" ]
[ "i5", "F9", "AA", "s", "324ref", "hs", "8", "34d", "0.0", "123er", "4%", "234" ]
2,224
^([1-9]{1}|[1-9]{1}[0-9]{1,3}|[1-5]{1}[0-9]{4}|6[0-4]{1}[0-9]{3}|65[0-4]{1}[0-9]{2}|655[0-2]{1}[0-9]{1}|6553[0-6]{1})$
Communication ports in PC between 1 - 65536.
Matches communication ports in PC between 1 - 65536. Match examples: - "1" - "80" - "65536" Non-match examples: - "0" - "0999"
[ "1", "80", "65536", "61569", "59776", "11627", "65520", "65517", "95", "61746", "62004", "391", "60968" ]
[ "0", "0999", "65537", "ijut765", "iyt867r5", "g86r7", "lhugit", "iut67r", "76rftu", "vgtfydr", "65rf", "ou9y87t" ]
2,241
^(0|(([1-9]{1}|[1-9]{1}[0-9]{1}|[1-9]{1}[0-9]{2}){1}(\ [0-9]{3}){0,})),(([0-9]{2})|\-\-)([\ ]{1})(€|EUR|EURO){1}$
Supported symbols are € or EUR or EURO (all case sensitive).
Matches money with € or EUR or EURO (all case sensitive). Match examples: - "0,00 €" - "1 234 567,89 EUR" - "1,-- EURO" Non-match examples: - "00,00 €" - "1234567,89 EUR"
[ "0,00 €", "1 234 567,89 EUR", "1,-- EURO", "41 140 489 616 442 321 595 068 559 472 489 946 252 033 676,75 EURO", "6 954 845 753 280 572 341 029 269 513 285 888 289 808 462 655 818 038 391 325 156 851 382 147 064 056 055 459 724 993 071 166 569 035 042 360 206 024 788 022 250 763 328 388 479 244 117 739 350 735 593 769 640 714 280 168 688 229 653 206 768 577 509 230 075 200,53 EURO", "0,-- EURO", "577 561 988 804 578 428 064 949 552 734 647 844 824 658 809 147 872 150 079 679 013 268 080 855 609 712 261 668 511 166 863 463 355 744 408 888 347 787 434 421 327 280 974 555 465 595 657 231 931 947 104 651 124 031 846 916 323 424 530 280 719 132 749 082 352 904 394 323 994 593 316 226 582 550 082 373 884 952 599 844 115 465 456 557 231 517 565 101 692 258 941 967 036 607 546 894 161 798,-- €", "0,09 €", "54 127 409 345 917 336 335 754 703 482 935 747 073 414 290 596 615 957 207 352 301 942 734 990 992 652 817 470 649 837 626 935 988 302 706 313 595 735 786 834 338 594 760 036 769 701 348 003 992 793 906 715 594 787 595 802 466 286 622 107 420 581 009 495 201 938 215 667 409 803 495 695 493 413 860 257 293 466 738 421 355 640 662 335,41 EUR", "4 344 831 003 982 867 490 198 985 749 127 191 961 700 732 893 515 205 586 908 984 582,-- €", "556 045 372 831 134 029 003 896 256 677 153 727 453 398 746 174 764 933 268 822 053 701,-- EUR", "2 334 194 257 696 719 847 933 670 992 397 700 402 546 968 127 816 646 370 100 442 644 319 387 070 046 928 113 998 757 465 371 738,-- EUR", "25 463 929 633 886 675 855 732 754 649 754 694 443 159 497 214 045 908 130 947 953 860 509 267 475 090 823 845 722 730 380 617 079 500 506 729 636 457 513 728 035 680 558 565 449 145 974 309 863 168 497 192 857 244 333 112 135 791 700 125 756 694 937 825 469,-- EURO" ]
[ "00,00 €", "1234567,89 EUR", "0 555,55 EURO", "2,2 EUR", "2,- EUR", "$$456789", "5678", "money", "$$$", "0f93eyd9chso", "344343", "328734" ]
2,246
^(0?[1-9]|1[0-2])\/(0?[1-9]|[1-2][0-9]|3[0-1])\/(0[1-9]|[1-9][0-9]|175[3-9]|17[6-9][0-9]|1[8-9][0-9]{2}|[2-9][0-9]{3})$
Matches all dates (mm/dd/yyyy or mm/dd/yy) greater than or equal to the SQL minimum date of 01/01/1753 and less than or equal to 12/31/9999. Does not check for leap years.
Matches all dates (mm/dd/yyyy or mm/dd/yy) greater than or equal to the SQL minimum date of 01/01/1753 and less than or equal to 12/31/9999. Does not check for leap years. Match examples: - "01/01/1753" - "9/2/09" - "12/02/1980" Non-match examples: - "1/1/1" - "13/1/01"
[ "01/01/1753", "9/2/09", "12/02/1980", "12/31/9999", "4/21/1963", "11/31/1764", "12/30/1953", "10/08/3403", "7/08/08", "05/09/48", "11/01/3088", "10/04/1891", "12/30/38" ]
[ "1/1/1", "13/1/01", "01/0/2001", "12/31/1752", "1-1-1900", "121212", "12-12-12", "12 12 12", "121212121212", "date", "aug 3", "noon" ]
2,259
^\d{1,3}((\.\d{1,3}){3}|(\.\d{1,3}){5})$
validate both IP V4 and IP V6
validate both IP V4 and IP V6 Match examples: - "192.168.0.1" - "000.000.000.000.000.000" - "999.999.999.999.999.999" Non-match examples: - "1.1.1.1.1" - "1.1"
[ "192.168.0.1", "000.000.000.000.000.000", "999.999.999.999.999.999", "91.77.2.24.786.46", "1.23.00.014.62.574", "480.4.707.390", "05.825.2.7", "929.3.90.823", "1.0.226.20.710.96", "6.987.3.17.129.756", "3.56.1.510.5.9", "5.4.18.67.367.7", "0.04.2.849" ]
[ "1.1.1.1.1", "1.1", "a.b.c.d.e.f.g", "234567889", "IP", "ewfhdcso8", "43efdsc", "13r45t6y7u", "r4f32erc", "3f45g6h7j", "123453.2343224.21433", "234." ]
2,262
^(((0|128|192|224|240|248|252|254).0.0.0)|(255.(0|128|192|224|240|248|252|254).0.0)|(255.255.(0|128|192|224|240|248|252|254).0)|(255.255.255.(0|128|192|224|240|248|252|254)))$
netmask address. I know this is nod good enough :)
Matches net mask address Match examples: - "255.255.192.0" - "240.0.0.0" - "255.255.255.0" Non-match examples: - "255.0.192.0" - "240.128.0.0"
[ "255.255.192.0", "240.0.0.0", "255.255.255.0", "255Q255<128,0", "255e254b0S0", "0{0C0<0", "128=0D0I0", "255k128\"0n0", "255X255!255q128", "252f0\"0V0", "255g192m0E0", "255;2558255I248", "255L255r255N240" ]
[ "255.0.192.0", "240.128.0.0", "240.255.255.0", "1234refds", "e3ddg4", "4r3fewd", "4rtgyhujik86756", "34fertyhu7", "gutr6esre", "45ertdfgyu", "34f67", "45678" ]
2,264
^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})(/([0-9]|[0-2][0-9]|3[0-2]))$
ip address/netmask couple
Matches ip address/netmask couple Match examples: - "192.168.0.5/24" - "255.255.0.0/32" - "162.226.103.215/4" Non-match examples: - "192.256.0.5/24" - "255.255.0.0/40"
[ "192.168.0.5/24", "255.255.0.0/32", "162.226.103.215/4", "7.199.120.250/3", "233.253.255.138/32", "180.7.102.247/31", "1.153.130.108/4", "250.253.153.02/02", "192.117.251.122/8", "252.250.252.148/30", "193.227.194.254/02", "221.35.178.5/30", "195.104.237.169/04" ]
[ "192.256.0.5/24", "255.255.0.0/40", "2345678765432", "23456.32134354.", "234ref.3ref", "3456.324", "132rew.g454", "4e243r.", "ip", "ewdsc", "567uju6yt", "34efd" ]
2,265
\b(((0[13578]|1[02])[\/\.-]?(0[1-9]|[12]\d|3[01])[\/\.-]?(19|20)?(\d{2}))|(0[13456789]|1[012])[\/\.-]?(0[1-9]|[12]\d|30)[\/\.-]?(19|20)?(\d{2}))|(02[\/\.-]?(0[1-9]|1\d|2[0-8])[\/\.-]?(19|20)?(\d{2}))|(02[\/\.-]?29[\/\.-]?(19|20)?((0[48]|[2468][048]|[13579][26])|(00)))\b
I needed to have a way where users could type in any date format like the following: mm/dd/yyyy, mm/dd/yy, mmddyy, mmddyyyy with the ability to use "/" and "." and "-" or nothing as separation characters. I use this in a RegularExpression Validator control in ASP.NET
Matches dates with any format, such as mm/dd/yyyy, mm/dd/yy, mmddyy, mmddyyyy with the ability to use "/" and "." and "-" or nothing as separation characters. Match examples: - "032103" - "02/29/2008" - "10.31.1990" Non-match examples: - "2-29-00" - "11.31.1992"
[ "032103", "02/29/2008", "10.31.1990", "010102", "0206/2063", "01/31.41", "02-042051", "02-29.00", "02/292032", "08-302024", "02.13-1901", "0217-2082", "1026.1921" ]
[ "2-29-00", "11.31.1992", "063178", "02/29/2005", "date", "234567", "1,000", "5%", "#2", "0.0", "12/12", "july 3" ]
2,273
(\d{2}|\d{4})(?:\-)?([0]{1}\d{1}|[1]{1}[0-2]{1})(?:\-)?([0-2]{1}\d{1}|[3]{1}[0-1]{1})(?:\s)?([0-1]{1}\d{1}|[2]{1}[0-3]{1})(?::)?([0-5]{1}\d{1})(?::)?([0-5]{1}\d{1})
Will match a date accepted by MySQL datetime type. Years with 2 or 4 digits from any range. Months with 2 digits from 00 to 12. days with 2 digits from 00 to 31. Hours with 2 digits from 00-23 Minutes with 2 digits from 00 to 59. Seconds with 2 digits from 00 to 59.
Will match a date accepted by MySQL datetime type. Years with 2 or 4 digits from any range. Months with 2 digits from 00 to 12. days with 2 digits from 00 to 31. Hours with 2 digits from 00-23 Minutes with 2 digits from 00 to 59. Seconds with 2 digits from 00 to 59. Match examples: - "00-00-00 00:00:00" - "0000-00-00 00:00:00" - "09-05-22 08:16:00" Non-match examples: - "2009-13:01 00:00:00" - "2009-12-32 00:00:00"
[ "00-00-00 00:00:00", "0000-00-00 00:00:00", "09-05-22 08:16:00", "1970-00-00 00:00:00", "20090522081600", "07-01-07 232116", "07-01-07 232116", "58-1129 164106", "9276-12-08 01:0749", "17-120522:18:39", "1784-02240632:17", "618606-312231:09", "29-0826 204207" ]
[ "2009-13:01 00:00:00", "2009-12-32 00:00:00", "2002-12-31 24:00:00", "2002-12-31 23:60:00", "02-12-31 23:00:60", "344rfc", "#3", "$5", "67%", "0.0", "1,000", "date" ]
2,278
^(0|[-]{1}([1-9]{1}[0-9]{0,1}|[1]{1}([0-1]{1}[0-9]{1}|[2]{1}[0-8]{1}))|(\+)?([1-9]{1}[0-9]{0,1}|[1]{1}([0-1]{1}[0-9]{1}|[2]{1}[0-7]{1})))$
Not just a number, a byte type. Will match any number from range -128 to 127.
Will match any number from range -128 to 127 to represent a byte type. Match examples: - "-128" - "127" - "0" Non-match examples: - "-129" - "128"
[ "-128", "127", "0", "1", "-10", "-4", "-9", "121", "+107", "9", "+120", "-123", "+48" ]
[ "-129", "128", "-0", "+0", "98765", "0.0", "3%", "#2", "1,000", "byte", "01b", "12/12" ]
2,279
^(0|[-]{1}([1-9]{1}[0-9]{0,3}|[1-2]{1}[0-9]{1,4}|[3]{1}([0-1]{1}[0-9]{3}|[2]{1}([0-6]{1}[0-9]{2}|[7]{1}([0-5]{1}[0-9]{1}|([6]{1}[0-8]{1})))))|(\+)?([1-9]{1}[0-9]{0,3}|[1-2]{1}[0-9]{1,4}|[3]{1}([0-1]{1}[0-9]{3}|[2]{1}([0-6]{1}[0-9]{2}|[7]{1}([0-5]{1}[0-9]{1}|([6]{1}[0-7]{1}))))))$
Short type, will match a short number from range -32768 to 32767.
Matches a short number from range -32768 to 32767. Match examples: - "-32768" - "-10" - "0" Non-match examples: - "+0" - "-0"
[ "-32768", "-10", "0", "10", "32767", "-32090", "+4", "740", "97", "-31563", "-29983", "-1936", "2673" ]
[ "+0", "-0", "-32769", "32768", "0.0", "#3", "567%", "1,000", "12/12", "int", "$45", "56783" ]
2,281
^(0|(\+)?([1-9]{1}[0-9]{0,3})|([1-5]{1}[0-9]{1,4}|[6]{1}([0-4]{1}[0-9]{3}|[5]{1}([0-4]{1}[0-9]{2}|[5]{1}([0-2]{1}[0-9]{1}|[3]{1}[0-5]{1})))))$
Will match an unsigned short number from range 0 to 65535
Matches an unsigned short number from range 0 to 65535 Match examples: - "0" - "100" - "65535" Non-match examples: - "-0" - "+0"
[ "0", "100", "65535", "1616", "+71", "160", "252", "37898", "8961", "65531", "26897", "60927", "+8" ]
[ "-0", "+0", "-10", "65536", "0.0", "1,000", "3456789098765", "12/12", "#3", "45%", "$134", "int" ]
2,282
^(0|(\+)?[1-9]{1}[0-9]{0,8}|(\+)?[1-3]{1}[0-9]{1,9}|(\+)?[4]{1}([0-1]{1}[0-9]{8}|[2]{1}([0-8]{1}[0-9]{7}|[9]{1}([0-3]{1}[0-9]{6}|[4]{1}([0-8]{1}[0-9]{5}|[9]{1}([0-5]{1}[0-9]{4}|[6]{1}([0-6]{1}[0-9]{3}|[7]{1}([0-1]{1}[0-9]{2}|[2]{1}([0-8]{1}[0-9]{1}|[9]{1}[0-5]{1})))))))))$
Will match any unsigned integer from range 0 to 4294967295
Will match any unsigned integer from range 0 to 4294967295 Match examples: - "0" - "1000" - "4294967295" Non-match examples: - "-100" - "-0"
[ "0", "1000", "4294967295", "36", "7", "10642", "29527193", "4070107329", "+926291232", "+2927957", "2", "697727552", "4161862882" ]
[ "-100", "-0", "+0", "4294967296", "0.0", "1,000", "#4", "87%", "$63", "int", "345321345324", "00000" ]
2,284
^([0-1][0-9]|[2][0-3]|[0-9]):([0-5][0-9])(?::([0-5][0-9]))?$
Validate hours with seconds returning mirrors correctly.
Validate hours and minutes with seconds in format HH:MM:SS Match examples: - "09:05" - "10:00" - "1:15" Non-match examples: - "9:5" - "09:1"
[ "09:05", "10:00", "1:15", "00:59:00", "23:01:59", "5:15:31", "17:04:26", "5:36", "02:03:05", "6:14", "23:52", "23:17:27", "23:17" ]
[ "9:5", "09:1", "0:1", "0:00:0", "1:1:11", "12-12-12", "12/12/12", "12", "-12", "12.12.12", "0", "$4" ]
2,294
^([0-2]\d|3[0-1]|[1-9])\/(0\d|1[0-2]|[1-9])\/(\d{4})$
Validate a date format: d/m/Y. See examples.
Validate a date format: d/m/Y. Match examples: - "1/05/1990" - "01/1/2006" - "01/01/2008" Non-match examples: - "01/01/90" - "32/02/2009"
[ "1/05/1990", "01/1/2006", "01/01/2008", "5/5/2009", "1/1/1990", "29/05/2009", "7/00/7624", "4/01/3597", "18/11/7766", "29/02/6624", "31/02/6233", "18/4/2191", "30/07/5093" ]
[ "01/01/90", "32/02/2009", "1/13/1990", "0/0/2009", "12-12-1212", "12:12:1212", "12 12 1212", "12|12|1212", "12\\12\\1212", "12.12.1212", "12,12,1212", "12" ]
2,295
^([0-1][0-9]|2[0-3]){1}:([0-5][0-9]){1}:([0-5][0-9]){1},([0-9][0-9][0-9]){1} --> ([0-1][0-9]|2[0-3]){1}:([0-5][0-9]){1}:([0-5][0-9]){1},([0-9][0-9][0-9]){1}(.*)$
e. g. HH:MM:SS:ttt --> HH:MM:SS:ttt; $1 is start hour; $2 is start minute; $3 is start second; $4 is start s/1000; $5 is stop hour; $6 is stop minute; $7 is stop second; $8 is stop s/1000;
Matches start time transitioned to time stoped. Match examples: - "00:12:35,126 --> 00:12:35,526" - "19:17:56,770 --> 22:03:42,473!0zDasW9$Xf?,b0l A~$*_VX0|9i]vN91jj3|Q:TRw720#Ag9G&&ru:HFNx96" - "21:19:00,760 --> 23:02:33,62445t/,k%po2Kdf6$2=}Ww,bG98Fv~nPV0@z>@R\-6~AJDwRP&s<WC][fwv<p(|5uN[#^`r!)>;to^=o4" Non-match examples: - "00:59:35,126 --> 00:60:20,500" - "00:16:20,200 --> 00:16:20,30"
[ "00:12:35,126 --> 00:12:35,526", "19:17:56,770 --> 22:03:42,473!0zDasW9$Xf?,b0l A~$*_VX0|9i]vN91jj3|Q:TRw720#Ag9G&&ru:HFNx96", "21:19:00,760 --> 23:02:33,62445t/,k%po2Kdf6$2=}Ww,bG98Fv~nPV0@z>@R\\-6~AJDwRP&s<WC][fwv<p(|5uN[#^`r!)>;to^=o4", "05:35:57,612 --> 18:49:03,876`KrNja>e\\0LK\\@)Z6z>vBLxGE{ lT?fl{pc.E$^SFZPHRlhu\\", "05:42:33,416 --> 12:27:19,604[,>Tc%|Q=xIj-", "10:44:24,406 --> 23:27:11,904lp;LcF", "03:38:55,987 --> 18:31:34,590fX!k\\qt^*$xtQ8P\\dk!Z,dX`", "21:06:12,048 --> 20:10:14,8454 o+&('V=WUOg0sK:CT\".baGtuzlC", "13:22:54,397 --> 23:06:20,423zR[|&1<'Ij^Y_m@a}-|@%4CJx.usNh HB[CPv[", "16:32:10,604 --> 23:19:20,513CnGYN!AB!xo__/`D%T#MGb1Ly`d3G|cBA7X)wzub`.=``P^qoRJu1M0:6S~Ss", "21:02:47,979 --> 13:54:24,392^pV+<kIk+I,AT:?Q@wr@H#+D-WDVJwzz<0Db#j/d", "12:11:40,526 --> 15:38:38,713,", "20:06:19,188 --> 16:50:24,716SAAhjg#(tO=vvURDtW|q9V>\\1|\"\\0_cgTW>x`N e.yjX/r`.n^wEbmjyFem" ]
[ "00:59:35,126 --> 00:60:20,500", "00:16:20,200 --> 00:16:20,30", "01:01:01.000 --> 01:01:01.900", "july 4th", "start", "stop", "5 -> 6", "12 hours", "5 pm", "234543", "00-00-23 -> 4532", "23" ]
2,296
^\{([1-9]{1}|[1-9]{1}[0-9]{1,}){1}\}\{([1-9]{1}|[1-9]{1}[0-9]{1,}){1}\}(.*)$
e. g. {11510}{11810}Blah, blah, blah.; $1 is start; $2 is stop;
Matches numbers in two sets of curly brackets. Match examples: - "{100}{150}subtitle" - "{1234}{1234}subtitle" - "{1}{2}subtitle" Non-match examples: - "{0100}{1000}subtitle" - "{}{100}subtitle"
[ "{100}{150}subtitle", "{1234}{1234}subtitle", "{1}{2}subtitle", "{3}{7}\\22q0c_\\ SzNRr'XH`ne}T{p?PqzxhIpYV6mM(]#CjT\\P{Ml\\)O)Pxn@O5On;Q2~'''6\":H", "{33257415607627367238703717709439276794083882135496999341504151593077896669}{23539247086269821521082267372192331892762649124791145900074}+:)qGrHKZt+\\Y15~-XU|S\"JTR\\=Ygdkom(]]xb_/Ci2Ck", "{3}{1}J32!>^pU!Eb2S']wj+S4T|wL723UyVo*+N)l7Ci#8~Om+I(lsK~FAU|3[]Fs%8%1^", "{67666760}{94182287881948924411183227136072476810225831720231426945333295737250019666200806721486}d@v KCEh|U}#C;t9o7.aVg@{U>+SNCxFR=Y}GlZaMt+@8|#`B", "{7}{9}Gv#*A#iIcl(@*;f8WbMjHHMw@}:!luz|(,i$d.cJ5p;y82H", "{928926183117059964051}{8}BCBDz4DH\\*5<MC{fX-", "{6}{3}.@,xDj$kz,/nFE", "{5904430153955635113676162584892363778062}{3357315948710520882426565100288134268666}uKu.78dy4'dy&yo0", "{59640793384489531528091461282910413152773174124362558528954713909560825207726510710995346}{38675339245705993345401457514870087346}$#Hrh}()'kN;UZXR1;FWH=qWLy\\'oJMoHHx)U[)X$:3k?;x{,}#lXJo|X*2j%e8", "{12}{8}#=O.ymY#eQJFeoyF+`V=yZsl]UXMRf|(lk3j<P;eEo&` &AoK=\"3U jWEASvw?U4,Tw^fArqCcyNQ{O\\oM2N" ]
[ "{0100}{1000}subtitle", "{}{100}subtitle", "{500}{}subtitle", "{}", "234567", "345rfd", ".", "//", "#", "@", "!", "?" ]
2,297
"([^\\"]|\\.)*"
to get the text betwen double quotes
Matches strings of any character between double quotes Match examples: - ""Ram"" - ""\9=\z\C\?"" - ""Ram Shyam"" Non-match examples: - "ram" - "shyam"
[ "\"Ram\"", "\"\\9=\\z\\C\\?\"", "\"Ram Shyam\"", "\"\\Mgb\\U\\i*6VFP-\\&\\Y\\N\\Zk\\J9\\s\\A\\N\\3@b\\ \\vks\\R\\fkM/\\U\\LlO\\4=H]\\MWH\\vm\\d*\\,]a\\a\\b{;\\&\\skfx1a{0\\DC$\\P \\jb\\vjp\\m#\\C\\U\\r\\)\\M\\_\"", "\"b\\m\\VE\\GR\\reP\\P]M\\nK\\Q\\H5L\\5\\.\\r<B\\qN\\~$H#P/\\rio@\\m\\.\\3bG\\<9w=pML<\\S\\-\\V?m9J>\\;\\^\\#{\\|\\7Hw\\=(\\M\\7)\\c%\\W\\U\\2V\\:I8oP\\w\\ v\\0\"", "\"5!\\E\\kO=\\-\\(QH!Y\\=pW\\q%I\\%\\_\\K\\-$35CS\\WK5\\f,K]Gj\\#\\iR_Th\\y\\}y\\qW\\R\\$\\Q\\m\\Sf\\l6S9,\\$\\M\\K\\~\\`P\\~E\\)\\5\\U\\^j>\\>^N\\uL=h6H\\xZ]\\S\\=[\\a\\E\\gK1\\)v\\1\"", "\"I\\i{\\_\\2\\C^\\Q\\{\\C\\V\\z\\ A[R\\,\\b\\'BPL\\?Zp4\\=\\q;Z\\0n72\\Fu\\R\\>F_NX\\2\\[\\tV\\+DpL\\^\\e\\\\z\\ +\\\\\\zJ\\^g{MN\\/\\i?@S\\S\\{bt\\P\\(\\%\\v\"", "\";j\\j\\@ \\-8\\$\\#\\exs\\0C\\R#\\9\\-dJ!\\/>\\h}\\v%\\}\\=6V\\+)\\L\\pc\\f\\#|Dc]\\rFx&\\QgQ\\]\"", "\"2-\\DgS\\r9z\\S>\\kAHm\\V\\9d\\qY\\_H&Qu\\vZm\\4.3\"", "\"\\C8{;\\C\\K\\:\\h&\\_\\N#\\2hG_\\u\\D(\\9\\>\\WU\\{\\8-8\"", "\"\\sh\\^\\IXnW\\BciH\\<\\T5\\(\\3`\\P\\v\\e\\[D\\mR\\m\\M<r\\?&u6\\eRYo|\\J\\q\\,}{u\\q\\F\\,\\Z\\/6\\o\\?\\T[j\\K@\\i\\P!\\n9\\7c\\r{|?:\\P\\J`\\R\\+\\7\\Om\\:{%\\mjFp\\2Z\\J\\c\\p\\(?\\6\\PS\\Qx\"", "\"M2|h-aY\\8\\?(\\\\8\\^\\H\\a7!\\<Y[k\\n\\o.\\cw\\w\\vc\\rx\\}[\\>$\\[\\Q\\>}t\\F\\kOi\\MM>\\B\\n\\o\\`S\\e@\\HCC\\omc{\\-\\Z>\\+\\c;\"", "\"'z7\\h\\HY\\?O\\M\\v\\/\\Up\\_;RE8B\\#ZeK\\b\\-\\s{vSiWPl\\|\\t\\Z\"" ]
[ "ram", "shyam", "'fcsd'", "'ekd", "cds\"", "\"rfvhfdjk", "wejk", "123456", "///", "..dce", "23es", "3kr" ]
2,298
^(\$?)((\d{1,20})|(\d{1,2}((,?\d{3}){0,6}))|(\d{3}((,?\d{3}){0,5})))$
This expression will allow whole dollar amounts (along with $ and ,) which are 20 digit wide. So the maximum amount will be $99,999,999,999,999,999,999. Note: This regular expression allows skipped commas, but will not allow multiple or commas at the wrong location. This can be used for all languages that have comma before the 3rd, 6th, 9th... digit.
This expression will allow whole dollar amounts (along with $ and ,) which are 20 digit wide. So the maximum amount will be $99,999,999,999,999,999,999. Note: This regular expression allows skipped commas, but will not allow multiple or commas at the wrong location. This can be used for all languages that have comma before the 3rd, 6th, 9th... digit. Match examples: - "$99,999,999,999,999,999,999" - "$56,987" - "56,123456,456" Non-match examples: - "$77,8,888" - "asadf"
[ "$99,999,999,999,999,999,999", "$56,987", "56,123456,456", "7872863477137753", "$9125673,299758253", "716,009589789,309", "738584", "$2,150,035464,019,121235", "$908184171,640,844", "$9,797,967041,635802924", "$702", "55,222", "28845400" ]
[ "$77,8,888", "asadf", "67.98", "wejk", "cds", "23423.", "0.0", "$", "#5", "45%", "money", "--" ]
2,301
^[+-]?[0-9]+$
Single- or multi-digit signed Integer.
Matches single- or multi-digit signed Integer. Match examples: - "12" - "-2" - "+3213" Non-match examples: - "abc" - "@41"
[ "12", "-2", "+3213", "0782004064112150920077190209139716388117211125565316159696466129441575409462530933373", "971606804743938413240690497074286754096439597293718504430565641", "47747090632161265201577437232517035561028013084989656444101496067410795426213450", "8523167852756684547041931759768162229369596", "-178440257164620089385194679071990203274159702360376749179642787860962220783241614", "7904358887351375386849955097750388338950009248898926015055603313642327506286822114157732020239236", "+98839279710996808761917843425434549102912899057868668570529445151793128564910360448", "22768450839447155527249965620267958468254029655549630116234639198734295444106632899891332195039791473", "5681975620858817299", "37867757907361347086287165227866726436791815976735643405035753295921531908571671413505" ]
[ "abc", "@41", "43.12", "+", "-", "erf", "#3", "$45", "9876%", "12/12", "12-12", "0.102" ]
2,316
^[+-]?\d*(([,.]\d{3})+)?([,.]\d+)?([eE][+-]?\d+)?$
Matches any integer or decimal number with either dot (.) or comma (,) as decimal- and thousands-separator. Also accepts Scientific notation.
Matches any integer or decimal number with either dot (.) or comma (,) as decimal- and thousands-separator. Also accepts Scientific notation. Match examples: - "-4,233.2832e12" - "+232" - "-0.12e-5" Non-match examples: - "abc" - "@41"
[ "-4,233.2832e12", "+232", "-0.12e-5", "8018953486012917622355847653389393786261280102567849783830623944277207820676023,927,782.296.825.745,007,521,226,142.212.171,436.256,511.387,030.094,681,579,594,346.055.272.133.956,971,776,376,947.638.478,665.461.581.663,269,390.976,858,739.717.989,126.595,738,037,420.401,384,862.387.926.227.192,914,613.585,417.792,561.843.078.989,736,854,137.622,252,447,364.632.901.533.042e+1986107741361866675091506147670929811474213337802019233915623894506982087948081235570272043749610716", "+34848718469196765885666688234540970530523947868944579676458016878810,815.666.170,382.176.045,952.386.983.258.489.774.443.628,412.997.945,129.065.3858420612738749194978276055341650699927851137613815290979610098098442071050958652757672", "+480681967582595965760202.837.502,447,896.812,404.156.167,662.614,055.575,277.536.864.456,290,907,851.939.661.217,969.883,899.974,021.132.821,969.191.390.452,476,011,364,236,395.707,088,728,617.590.321.684,717.905.105,773.427,912.162.006,142e-52609402067810327885735339", "444462504387814310444638203295061321777498497878006436666149083076414221291.062,018,574,029.611,349.163.182,539.310.684.855,665,720,890.418.502,909.510.836,262.523.570.265.415.090.692.015.277,541,539.256.008.142.108,035,012,486,276.741,342.033.081.309.978.539,202,673.436.551,730.635,365,709,625,866,375,380,139,419,716.728,274.568,465.652,98424127160098936666018179373108549205230138498434793160731781201644856E+781600540799191535308207447679446300837191505252905434719031243", "21216705901794677928885277732160316989681413947935111522925650390924725733909607886596137528718639.274,303,211.454.654,346.810.289.923,279,670,616,520,202.987.864,433,227,573.785,696.849,171.558.118.160,794,102,388,941,291.619.005,259.878,219,626,876.383,147,568,871,378.692,237", "32126991214,966,613.535,321,078.033.830,339.915,609,744,519.812.546.067,762.694.924.581.963,976.834,101.910,987,750.358,554,340.096,087,361.543.550.689,977.082,402,067,169.182,020,008.939,275.936.389,271.872.883,762.979.906,315,953,840.815,100.007.818,397.234.135,735,992,718.733.379.675.726,346,483.427,854.159.821.578.847.492.584,019,425,604,999E-87515223", "-826176040372593602229931550659899116457538776723578.750.603.387.498,635.067,310.154.650.547,045,835,249,552,250.063.875,925.277.696.187,288.350,567,959,893,940.878.128.000,329,607,366,874.775.548.997.174,631,663.660,792.694,421.610.559,433.455,624.338", "+2567284.80722391070564936832627718804295768808031190855558300221e+139534264345258", "009832415439930561069804432667890", "875848104710979334.206153530409337185771855367213395108402E+71126208632098758388073185641732841722453789640940598763497" ]
[ "abc", "@41", "0x423", "date", "234reds", "fgh5j735", "4f3g56h", "g54redvsy8", "34teg", "HGUYUFUYU", "+++iuefwcd", "number" ]
2,317
^(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}$
This matches any valid IPV4 IP Address. It includes 0-255 range checks since none of the IP components may exceed 255.
This matches any valid IPV4 IP Address. It includes 0-255 range checks since none of the IP components may exceed 255. Match examples: - "97.67.44.20" - "199.154.37.214" - "127.0.0.1" Non-match examples: - "63.125.94.287" - "140.370.a.187"
[ "97.67.44.20", "199.154.37.214", "127.0.0.1", "218.253.250.214", "58.89.130.2", "253.193.242.225", "106.86.226.121", "253.3.193.134", "9.166.190.197", "127.8.250.242", "186.8.140.160", "120.254.58.252", "178.25.64.24" ]
[ "63.125.94.287", "140.370.a.187", "94.923.1", "23456terfds", "defrtg6543", "3456re", "refwfrg.ergrew.erger", "IP", "2345.354236.32546.", "43.34543.345.4543", "+8765", "$45" ]
2,318
^#?(([a-fA-F0-9]{3}){1,2})$
Matches any valid 3 or 6 digit hexadecimal colour value.
Matches any valid 3 or 6 digit hexadecimal colour value. Match examples: - "#ff9900" - "#abc" - "#92fea5" Non-match examples: - "ab" - "#92a2"
[ "#ff9900", "#abc", "#92fea5", "#2eEd9f", "#5fd", "903", "D34", "#DBD61D", "#71Af2a", "#bF5eD8", "D609Cb", "6FDf9e", "#A66" ]
[ "ab", "#92a2", "32z", "dejk-487", "4334", "jheu", "0.0", "#3", "5%", "12/12", "color", "$46" ]
2,322
("((\\.)|[^\\"])*")
match string between chars " " as in source code
Matches string between chars " " as in source code Match examples: - """" - ""\n"" - ""test"" Non-match examples: - "test" - ""test"
[ "\"\"", "\"\\n\"", "\"test\"", "\"test 1 \\\"test 2 \\\" test 3\"", "\"\\>N?V\\e\\x\\-\\e2\\ViZ\\V\\<C\\Q\\fE~\\:\\|&)J:\\'\\U\\8\\Q2CKx\\9>pC!}\\eg\\\\\\+\\]/\\2\\c\\6')X\\c\\W\\z\\Q>J\\9\\}u\\1\\3\\\"s7655N*2S\\EX\\~9.y\\e\\e\\@\\A\\'\\xy$\"", "\"wa;=!Pi\\LSd\\D_{)qv\\~:#:\"", "\"\\E\\+\\ \\XX\\Vx\\b\\I+TT\\W\\[\\-j\\,4oq\\1\\z\\=\\]\\8;2\\,\\y\\_q\\)(1\\D+\\*\\;8\\sa\\x\\Hjt8\\*\\w\\)\\||\\@VFc\\-U<Y\\}\\6\\sfUw\\?\\L\\vsor\\x\\?]P\\)3s\\F+\\*21\"", "\"\\W\\Ab\\fN\\Y\\,\\&\"", "\"GAo\\A\\3 \\s8R|\\\\\\us \\ RK3;&\\/\\zv\\*\\sz\"", "\"\\m\\@\\]\\l\\4S\\x\\*\\'y1\\ \\\\LN\\]\\3\\~\\LD}\\t+\\i\"", "\"68\\fL\\\"$\\;\\BFI@\\:\\{\\fy\\U\\R<qv6%W\\lXl\\T\\`'\\k\\~\\K\\f}I\\B\\:D\\uZmmN<\\??<\\ \\`\\V\\qz`\\x\\!\\\\)&g\\#W^\\v\\f'Z2I\\0\\_2\\MSIIq\\EJ\\:O\\a\\^F\\5\\Eo\\o\\R\\+,\\}\\w\\0a\\G\\~\\[\"", "\"\\G\\B\\r\\x\\D\\6p \\_\\Qq]D\\x+\\LxXQ\\-\\+\\0\\Z`C2\\n=\\P\\UF\\76\\wI!\\G<>%\"", "\"\\lG\\+\\@\\+\\,\\Y\\>\\g\\A.6\\_{\\K '\\1x3XTn\\+=\"" ]
[ "test", "\"test", "\"test\\\"", "'erfe'", "\"fervf", "vfef\"", "uirhuirjh", "<fds>", "''erfveew'", "rfedc;", "#4", "$5432" ]
2,333
('((\\.)|[^\\'])*')
match string between chars ' ' as in source code
Matches string between chars ' ' as in source code Match examples: - "''" - "'\n'" - "'test'" Non-match examples: - "test" - "'test"
[ "''", "'\\n'", "'test'", "'test 1 \\'test 2 \\' test 3'", "'\\;\\J-\\BC\\QZ)\\=\\*\\4V6\\m\\^\\=\\{\\o\\p\\k\\KNTJ\\k'", "'\\Sl\\Fn\\-\\B\\-\\[?a\\x\\@A\\8Vwn\\\\\"\\DBx\\'\\$!a:\\l\\%\\*y\\d8\\cq\\S#\\<\\X\\f=\\!\\\\6\\-yh\\t\\>\\=zU\\xYK\\SaEh\\a3\\@St\\k\\Uc\\(\\-\\<\\A\\H\\}\\-q{\\p'", "'\\E$\\|Fx\\&\\#S\\5=Hp2\\i\\4`*NyKm\\l\\d\\N\\~\\G\\Z7\\{\\)I\\>\\)\\<\\|i8\\o\\,\\g\\ \\h\\1e%\\S]`\\,\"Tx>\\E%J\\oa\\w\\T\\&\\6ADn\\r\\j\\l\\g$Y6\\Ggl\\v\\q\\$^|\\V0\\IX\"\\4@V'", "'\\E$\\|Fx\\&\\#S\\5=Hp2\\i\\4`*NyKm\\l\\d\\N\\~\\G\\Z7\\{\\)I\\>\\)\\<\\|i8\\o\\,\\g\\ \\h\\1e%\\S]`\\,\"Tx>\\E%J\\oa\\w\\T\\&\\6ADn\\r\\j\\l\\g$Y6\\Ggl\\v\\q\\$^|\\V0\\IX\"\\4@V'", "'\\l\\{|T\\p_hG\\X9\\X|\\+p\\8\\_hVl!\\_\\59\\w\\Z\\ \\V\\u\\^\\iQ.\\7i\\C\\M\\B\\`H\\aBO\"\\,\\8,{R\\c\\;&x\\6\\e,\\@\\tN\\r\\@n!\\$\\sR_B}\\{@\\t\\.\\T\\E\\rjl\\C\\})%\\GeA\\`\\)\\g8'", "'<\\7\\p\\?\\}`\\CE\\SA\\'[\\.\\q\\ \\E\\p}\\c7\\sB\\~\\6\\!'", "'\\~s\\u\\])-\\7\\e9\\%\\]\\K\\BX@\\5bV\\D\\P\\vo\\r\\W\\JRf\\H]\\ \\jPA{\\C\\NsbJYI.\\@6\\x\\6\\9TC\\Y\\Vh4P\\(EEf\\oj\\Nj\\4$_%Uq\\%eO\\mvp{'", "'94o}\\Jv6HIrpY\\c\\>\\W0\\x\\rF\\Z3\\u\\>\\V\\Gf.~\\&\\U\\@R\\9JV{\\vH\\=\\~e6&\\+ r\\Uh\\ :\\!N\\9\\?ai\\B\\%D\\{Y 51:'", "'\\a\\R6\\\"dw\\uD\\}\\sVz2\\U9\\F\\Q\\rqd\\bT\\{G~\\H\\[\\1\\1x\\Q\\Dn\\r\\l\\)<|\\u\\@l\\j\\d\\L\\t\\g|\\\"q$\\'\\\\<\\u\\/h\\>H\\s\\P}'" ]
[ "test", "'test", "'test\\'", "'sfvr", "fervdsc'", "\"revd", "\"rvtjn\"", "j4hjrjn\"", "$45", "0000", "#3", "12/12" ]
2,334
[0-9]{1,2}[:|°][0-9]{1,2}[:|'](?:\b[0-9]+(?:\.[0-9]*)?|\.[0-9]+\b)"?[N|S|E|W]
Matches common Degree, Minute, Second coordinate values. The last part can be easily modified to be latitude or longitude specific by changing [N|S|E|W] to [N|S] for latitude or [E|W] for longitude.
Matches common Degree, Minute, and Second coordinate values. [N|S|E|W] to [N|S] for latitude or [E|W] for longitude. Match examples: - "12:12:12.223546"N" - "12:12:12.2246N" - "15:17:6"S" Non-match examples: - "12.2225" - "15.25.257S"
[ "12:12:12.223546\"N", "12:12:12.2246N", "15:17:6\"S", "12°30'23.256547\"S", "57:92|.111672807046776907296\"N", "6|7'08565707623097136248100204772074121988.838264518978691794188912498349372655276258128542763514427876455121292234855714657\"E", "6|7:83884332009637165992544145090414337.40003358615885193E", "6:0:863637595577395091150949068806896890794492418065694467256809770072275336382407.778525475813310479611123985286482153486\"N", "6:96'.07|", "26|77|3524852833932706472564206976044407985316431890716620603271248742713216432.893151169681885512977782757274508661829771556836820228\"|", "3°74'754494453038432462772845173205975439360671807368401870376600007924699163293426362947458E", "8:7|.938229077260086779798120989001427807762\"N", "4|0'6961342792935498200785283514.473973919185913338968683758458285429597268440998098391941547W" ]
[ "12.2225", "15.25.257S", "AA:BB:CC.DDS", "32456", "dsfg", "$345", "#3", "0", "12", "11!", "SDFG", "[]" ]
2,335