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

Please support RegExLib Sponsors

Sponsors

Advanced Search

Keywords

Category

Minimum Rating

Results per Page

Search Results: 814 regular expressions found.

Change page:   |    Displaying page 38 of 41 pages; Items 741 to 760
Title Test Details Date regex
Expression
^((19[0-9][0-9])|(20[0-1][0-5]))\-((0?[1-9])|(1[0-2]))\-((0?[1-9])|([1-2][0-9])|(3[0-1]))$
Description
Year, month and day with dashes.Year starts from 1900 to 2015 and must be 4 digits.
Matches
2012-05-21 | 1960-12-14 | 1910-5-3
Non-Matches
2011/5/21 | 60-12-14 | 2021-5-3
Author Rating: The rating for this expression. Soroush gholamzadeh
Title Test Details Validate format Date dd/MM
Expression
^((0?[1-9]|[12][0-9]|3[01])[\/](0?[1-9]|1[0-2]))$
Description
Validate a date in format dd/MM Days 01 to 31, Months 01 to 12
Matches
01/01, 11/04, 31/12
Non-Matches
32/12, 28/15
Author Rating: Not yet rated. Adrian Medina
Title Test Details Email
Expression
^([a-zA-Z0-9]+(?:[.-]?[a-zA-Z0-9]+)*@[a-zA-Z0-9]+(?:[.-]?[a-zA-Z0-9]+)*\.[a-zA-Z]{2,7})$
Description
Yet another regex to help validate email addresses. This will work for 99% of all email addresses entered into the average website form. Stricter than RFC2822.
Matches
Non-Matches
Author Rating: Not yet rated. Ted Cambron
Title Test Details Date Validation Expression
Expression
^(0[1-9]|1[0-2])\/(0[1-9]|1\d|2\d|3[01])\/(19|20)\d{2}|(0[1-9]|1[0-2])\/(0[1-9]|1\d|2\d|3[01])\/\d{2}|(0[1-9]|1[0-2])\-(0[1-9]|1\d|2\d|3[01])\-(19|20)\d{2}|(0[1-9]|1[0-2])\-(0[1-9]|1\d|2\d|3[01])\-\d{2}|([1-9]|1[0-2])\/([1-9]|1\d|2\d|3[01])\/(19|20)\d{2}|([1-9]|1[0-2])\/([1-9]|1\d|2\d|3[01])\/\d{2}|([1-9]|1[0-2])\-([1-9]|1\d|2\d|3[01])\-(19|20)\d{2}|([1-9]|1[0-2])\-([1-9]|1\d|2\d|3[01])\-\d{2}|(([0-9])|([0-2][0-9])|([3][0-1]))\-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\-\d{4}|(([0-9])|([0-2][0-9])|([3][0-1]))\-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\-\d{2}$
Description
Date Validation Expression
Matches
m-d-yy m-d-yyyy mm-dd-yy mm-dd-yyyy m/d/yy m/d/yyyy mm/dd/yy mm/dd/yyyy dd-MMM-yyyy dd-MMM-yy
Non-Matches
d-m-yy d-m-yyyy dd-mm-yy dd-mm-yyyy d/m/yy d/m/yyyy dd/mm/yy dd/mm/yyyy MMM-dd-yyyy MMM-dd-yy
Author Rating: Not yet rated. Hari Balaram R J
Title Test Details Date time (mmm dd,yyyy dd:MM:yyyy am/pm)
Expression
^(?:(((Jan(uary)?|Ma(r(ch)?|y)|Jul(y)?|Aug(ust)?|Oct(ober)?|Dec(ember)?)\ 31)|((Jan(uary)?|Ma(r(ch)?|y)|Apr(il)?|Ju((ly?)|(ne?))|Aug(ust)?|Oct(ober)?|(Sept|Nov|Dec)(ember)?)\ (0?[1-9]|([12]\d)|30))|(Feb(ruary)?\ (0?[1-9]|1\d|2[0-8]|(29(?=,\ ((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)))))))\,((1[6-9]|[2-9]\d)\d{2})) (?:[0-1]?[0-9]|[2][1-4]):[0-5]?[0-9]:[0-5]?[0-9]\s?([apAP][Mm])?$
Description
Tested with all date times: Examples Like: [Jul 30,2015 10:40:43 AM] if you want to use space then please add before ((1[6-9]|[2-9]\d)\d{2})) then it will works fine.
Matches
Jul 30,2015 10:40:43 AM
Non-Matches
Jul 30, 2015 10:40:43 AM
Author Rating: Not yet rated. Vivek
Title Test Details U.S. Street Address
Expression
/(?:(?<=^)|(?<=[;:.,|][ ])|(?<=[[('"]))(?:[)]?P\.?O\.?(?:(?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]{1,2}(?<StreetSuffix>E|N[EW]?|S[EW]?|W)\b)?))(?:(?:^|[ ]{1,2}|[;,.]\s{0,2}?)(?i)(?<Apt>(?:[#]?\d{1,5}(?:[. ]{0,2}(?:°|st|[nr]d|th))?[;,. ]{0,2})?(?:(?:(?>(?:A|DE)P(?:AR)?T(?:MENT)?S?|B(?:UI)?LD(?:IN)?G?|FL(?:(?:OO)?R)?|HA?NGS?R|LOT|PIER|RM|S(LIP|PC|T(E|OP))|TRLR|UNIT|(?=[#]))(?:[ ]{1,2}[#]?\w{1,5})??|BA?SE?ME?N?T|FRO?NT|LO?BBY|LOWE?R|OF(?:C|FICE)|P\.?H|REAR|SIDE|UPPR)){1,3}(?:[#;,. ]{1,3}(?:[-.]?[A-Z\d]){1,3})?)[;,.]?)?)(?<CityState>[-;,.[(]?\s{1,4}(?<City>[A-Z][A-Za-z]{1,16}[.]?(?:[- ](?:[A-Z][A-Za-z]{0,16}|[a-z]{1,3})(?:(?:[- ][A-Za-z]{1,17}){1,7})?)?)(?<!\s[ACDF-IK-PR-W][AC-EHI-PR-Z])[)]?(?>(?<State>[-;,.]?\s{1,4}[[(]?(?<StateAbbr>A[LKSZRAP]|C[AOT]|D[EC]|F[LM]|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEHINOPST]|N[CDEHJMVY]|O[HKR]|P[ARW]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])\b[])]?|[-;,.]\s{0,3}[ ][[(]?(?=[A-Z])(?<StateName>(?i)Ala(?:bam+a|[sz]ka)|Ari[sz]ona|Arkan[sz]as|California|Colorado|Con+ec?t+icut+|Delaw[ae]re?|Flori?da|Georgia|Haw+ai+|Idaho|Ill?inois|Indiana|Iowa|Kansas|Kentu[ck]+[iy]|Louis+ian+a|Ma(?:ine|r[iy]land|s+achuset+s)|Mi(?:chigan|n+es+ot+a|s+is+ip+i|s+ouri)|Montana|Ne(?:bra[sz]ka|vada|w[ ]?(?:Hamp?shire|Jerse[iy]|Mexico|York))|[NS](?:o[ru]th|[.])[ ]?(?:Carolina|Dakota)|Ohio|Oklahoma|Oregon|Pen+s[iy]lvan+[iy]a|Rh?oa?de?[ ]?Island|Ten+es+e+|Texas|Ut+ah?|Vermont|Washington|(?:W(?:est|[.])?[ ]?)?Virginia|Wi[sz]cou?nsin|W[iy]om[iy]+ng?)[])]?)?)(?(State)|(?:(?<=[)])|(?! [A-Z]))))?(?>(?:[-;,.\s]{0,4}(?:^|[ ]{1,2})[[(]?(?<ZipCode>(?!0{5})\d{5}(?:-\d{4})?)[])]?)?)(?(State)|(?(ZipCode)|(?(City)(?!)|(?(PO)|(?(NumberException)(?!)|(?(StreetNameIndicator)|(?(StreetType)|(?(StreetPrefix)|(?!)))))))))(?=[]).?!'"\s]|$)(?![ ]+\d)/gmx
Description
Parse and validate Street Addresses. It works in PCRE and .net.
Matches
54a Lakeview Rd | P.O. Box 12345 Los Angeles, CA 12304 | 101, 5th St. N | 123 Anywhere Dr. apt #99 Somewhere, AR 55789 | 6806 5th Ave NW Apt. 12B, Bradenton, FL 34209
Non-Matches
123 Street City, ST 00000 | 2015 Best Street Name Parser | 123 Street City, ST 00000
Author Rating: The rating for this expression. Mariano M
Title Test Details jalali date
Expression
^\d{4}\/\d{1,2}\/\d{1,2}$
Description
This regular expressions matches jalali dates of the form YYYY/XX/XX where XX can be 1 or 2 digits long and YYYY is always 4 digits long.
Matches
1394/01/3 | 1365/12/31 | 1397/02/01
Non-Matches
1394/1/555 | 139/1/4 | 1/11/1394
Author Rating: Not yet rated. davood dehghan
Title Test Details Date Day/Month/Year
Expression
(?:3[01]|[12][0-9]|0?[1-9])[/.-](?:1[0-2]|0?[1-9])[/.-][0-9]{4}
Description
Date Day/Month/Year. From http://tools.twainscanning.com/getmyregex
Matches
31/08/2015 | 31-08-2015
Non-Matches
2015-08-31
Author Rating: Not yet rated. RobertKaw
Title Test Details Date Year-Month-Day
Expression
[0-9]{4}[/.-](?:1[0-2]|0?[1-9])[/.-](?:3[01]|[12][0-9]|0?[1-9])
Description
Date Year-Month-Day. From http://tools.twainscanning.com/getmyregex
Matches
2015-08-31
Non-Matches
31/08/2015
Author Rating: Not yet rated. RobertKaw
Title Test Details UK VAT Numbers
Expression
^(GB)?([0-9]{9})$
Description
If you dont need to validate anything other than UK Numbers then this is for you, with optional GB at the start. If you need other countries then the EU Pattern is better suited
Matches
GB123456789 | 123456789
Non-Matches
GB12345678 | AA123456789 | 1234567
Author Rating: Not yet rated. PJWhitfield
Title Test Details Error Troubleshooting with Norton Antivirus
Expression
Error Troubleshooting with Norton Antivirus
Description
Are you finding it difficult to troubleshoot with Norton Antivirus? Is it not synchronizing with your computer? Is your Norton antivirus outdated? Do you need to reinstall it? What are your requirements with Norton support services? For any kind of Norton virus support issues for which you need a quick resolve, nothing could have been better than Norton anti-virus technical support team. You will be getting genuine solutions from the timeless partners who have been ready with all kind of robust solutions almost any time and at any hours of the day. Call them at their toll-free support number today for a fast solution! http://www.antivirustechnicalhelp.com/norton-antivirus.html
Matches
norton
Non-Matches
norton
Author Rating: Not yet rated. mark
Title Test Details CAP date time
Expression
^(?:[2-9]\d\d\d)-(?:1[012]|0?[1-9])?-(?:31(?!.(?:0?[2469]|11))|(?:30|29)(?!.0?2)|29(?=.0?2.(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00)))(?:T))|(?:2[0-8]|1\d|0?[1-9]))T(2[01234]|[01]\d):[0-5]\d:[0-5]\d[+-][01]\d:[0-5]\d$
Description
Matches the strict datetime format for Common Alerting Protocol v1.2 (might be same as earlier versions too). Inspiration and some code came from Michael Ash's http://regexlib.com/REDetails.aspx?regexp_id=610 with tweaks of my own
Matches
2016-04-07T12:29:00-04:00 | 2016-04-07T11:13:00-05:00 | 2016-04-05T00:53:35-04:00
Non-Matches
31/12/2003 11:59:59 PM | 2016-04-07 22:00:01+00:00 | 2016-04-07T22:00:01Z
Author Rating: The rating for this expression. Branden Snyder
Title Test Details Address: House Number(s) and Street
Expression
^(?<address1>(?>\d{1,6}(?>\ 1\/[234])?( (N(orth)?|S(outh)?)? ?(E(ast)?|W(est)?))?((?> \d+ ?(th|rd|st|nd))|(?> [A-Z](?>[a-z])+)+) (?>(?i)THROUGHWAY|TRAFFICWAY|CROSSROADS|EXPRESSWAY|BOULEVARD|CROSSROAD|EXTENSION|JUNCTIONS|MOUNTAINS|STRAVENUE|UNDERPASS|CAUSEWAY|CRESCENT|CROSSING|JUNCTION|MOTORWAY|MOUNTAIN|OVERPASS|PARKWAYS|TURNPIKE|VILLIAGE|VILLAGES|CENTERS|CIRCLES|COMMONS|CORNERS|ESTATES|EXPRESS|FORESTS|FREEWAY|GARDENS|GATEWAY|HARBORS|HIGHWAY|HOLLOWS|ISLANDS|JUNCTON|LANDING|MEADOWS|MOUNTIN|ORCHARD|PARKWAY|PASSAGE|PRAIRIE|RANCHES|SPRINGS|SQUARES|STATION|STRAVEN|STRVNUE|STREETS|TERRACE|TRAILER|TUNNELS|VALLEYS|VIADUCT|VILLAGE|ALLEE|ARCADE|AVENUE|BLUFFS|BOTTOM|BRANCH|BRIDGE|BROOKS|BYPASS|CANYON|CAUSWA|CENTER|CENTRE|CIRCLE|CLIFFS|COMMON|CORNER|COURSE|COURTS|CRSENT|CRSSNG|DIVIDE|DRIVES|ESTATE|EXTNSN|FIELDS|FOREST|FORGES|FREEWY|GARDEN|GATEWY|GATWAY|GREENS|GROVES|HARBOR|HIGHWY|HOLLOW|ISLAND|ISLNDS|JCTION|JUNCTN|KNOLLS|LIGHTS|MANORS|MEADOW|MEDOWS|MNTAIN|ORCHRD|PARKWY|PLAINS|POINTS|RADIAL|RADIEL|RAPIDS|RIDGES|SHOALS|SHOARS|SHORES|SKYWAY|SPRING|SPRNGS|SQUARE|STRAVN|STREAM|STREME|STREET|SUMITT|SUMMIT|TRACES|TRACKS|TRAILS|TUNNEL|TURNPK|UNIONS|VALLEY|VIADCT|VILLAG|ALLEE|ALLEY|ANNEX|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RNCH|RPDS|REST|RDGE|RDGS|RIVR|ROAD|SHLS|SHRS|SPNG|SPGS|SPUR|SQRE|SQRS|STRA|STRM|STRT|TERR|TRCE|TRAK|TRKS|TRLS|TRLR|TUNL|VLLY|VLYS|VDCT|VIEW|VILL|VLGS|VIST|VSTA|WALK|WALL|WAYS|WELL|ALY|ANX|ARC|AVE|AVN|BCH|BND|BLF|BOT|BTM|BRG|BRK|BYP|CMP|CPE|CEN|CTR|CIR|CLF|CLB|COR|CTS|CRK|DAM|DIV|DVD|DRV|EST|EXP|EXT|FLS|FRY|FLD|FLT|FRD|FRG|FRK|FRT|FWY|GLN|GRN|GRV|HBR|HVN|HTS|HWY|HLS|ISS|JCT|KEY|KYS|KNL|LKS|LGT|LCK|LDG|MNR|MDW|MNT|MTN|NCK|OVL|PRK|PKY|PLN|PLZ|PTS|PRT|PRR|RAD|RPD|RST|RDG|RIV|RVR|RDS|ROW|RUE|RUN|SHL|SHR|SPG|SQR|SQU|STA|STN|STR|SMT|TER|TRK|TRL|VLY|VIA|VWS|VLG|VIS|VST|WAY|WLS|AV|BR|CP|CT|CV|DL|DM|DV|DR|FT|HT|HL|IS|KY|LK|LN|LF|MT|PL|PT|PR|RD|SQ|ST|UN|VW|VL|WY))( (N(orth)?|S(outh)?)? ?(E(ast)?|W(est)?)?)?)$
Description
Using this to validate street addresses, eg from yelp API https://regex101.com/r/sW5iI3/2
Matches
2255 140th Ave NE|535 Bellevue Sq|14008 NE 8th St|15615 NE 8th St|555 108th Ave NE|12821 SE 38th St|15920 NE 8th St|4065 Factoria Blvd SE|1829 130th Ave Ne|3720 Factoria Blvd SE|150 112th Ave NE|16640 Redmond Way|730 NW Gilman Blvd|15220 SE 37th St|1328 156th Ave NE|5905 Airport Way S|600 E Pine St
Non-Matches
|Crossroads Mall|Hungry Bear Market
Author Rating: The rating for this expression. Michael P Metully
Title Test Details DateTime ISO8601 Parser
Expression
/(\d{4})-?(\d{2})-?(\d{2})[T\s]?(\d{2}):?(\d{2})(?::?(\d{2})(\.\d+)?)?(Z|(?:([+-]\d{2})(?::?(\d{2}))?))?/i
Description
Parses various timestrings in the ISO8601 (or similar) format into a predictable array of elements. [1] = Year [2] = Month [3] = Day [4] = Hour [5] = Minute [6] = Seconds [8] = "Z" is UTC [9] = Timezone Offset Hour [10] = Timezone Offset Minute
Matches
1978-12-18T17:17:00Z | 1978-12-19T02:17:00+09 | 1978-12-18T17:17:00-00:00 | 1978-12-18T12:17:00-0500 | 1978-12-18 17:17:00 | 1978-12-18 17:17:00.021Z | 19781218T171700Z | 19781219T021700+09 | 19781218T171700-00:00 | 19781218T121700-0500 | 19781218 171700 | 19781218 171700.021Z
Non-Matches
foo | 78-12-18T17:17:00Z | 1978-12 | 1978-12-18A
Author Rating: Not yet rated. Luke Stevenson
Title Test Details Email or Recipent To or Names
Expression
((?i)(?<=\b(^to |^to:|^to;):?)[^:].+?$)+(\b[-\w]{2,40}(\.[-\w]{1,40}){0,5}@[-\w]{2,40}(\.[-0-9a-zA-Z]{2,20}))*\b
Description
Finds names or eMail address when reference in text. Must start with TO, or you can change to ->from, cc, bcc, and so on. email address are validated against @ but NOT domain; domain isnt validated. Test and comment plz
Matches
[email protected] | you@me | First Last [email protected]| First Last/weird/lotusnotes/name@domain
Non-Matches
To you and me from now on, [email protected]
Author Rating: Not yet rated. A Ruiz
Title Test Details Validate a mobile phonenumber inside The Netherlands
Expression
^0[6]{1}(\-)?[^0\D]{1}\d{7}$
Description
Regular expression to validate a mobile phonenumber inside The Netherlands.
Matches
0612345678, 06-12345678
Non-Matches
05-12345678, 06-123456789
Author Rating: The rating for this expression. Peter van der Meer
Title Test Details Validate the name of a Greek letter
Expression
^(alfa|alpha|beta|bèta|chi|delta|epsilon|eta|èta|gamma|iota|kappa|lambda|mu|nu|omega|omicron|omikron|phi|pi|psi|rho|sigma|tau|theta|thèta|xi|ypsilon|zeta|zèta)$
Description
Validate the name of a Greek letter. Supports Dutch and diacritics for European languages.
Matches
alfa, alpha, beta, bèta
Non-Matches
betha, meta
Author Rating: Not yet rated. Peter van der Meer
Title Test Details Vaildate a BSN number (Dutch)
Expression
^[0-9]{9}$
Description
Vaildate a 'BurgerServiceNummer' or BSN number (Dutch).
Matches
012345678, 123456789
Non-Matches
01234567, 1234567890
Author Rating: The rating for this expression. Peter van der Meer
Title Test Details IBAN number (Dutch)
Expression
^NL\d{2}[A-Z]{4}0\d{9}$
Description
Validate an International Bank Account Number (IBAN) without formatting. The first two characters represent the country code, coded according ISO 3166-1. ISO 3166-1
Matches
NL91ABNA0417164300
Non-Matches
91ABNA0417164300, NL91 ABNA 0417164300
Author Rating: The rating for this expression. Peter van der Meer
Title Test Details Date and time (10 february 2014 at 0:10)
Expression
\d{2} \D+[a-z] \d{4} at \d{2}:\d{2}
Description
This regex will match this kind of date: 10 february 2014 at 0:10
Matches
10 february 2014 at 0:10
Non-Matches
non
Author Rating: Not yet rated. Melcu Suzana
Change page:   |    Displaying page 38 of 41 pages; Items 741 to 760

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