Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Relevance
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 520 community submitted regex patterns...
1
ISO8601 DateTime
PCRE (PHP <7.3)
Matches an ISO8601 date time string, including fractional time. Does not exclude non-existent times (such as the 29th february in non-leap-years)
Submitted by
Tobias Marstaller
-
9 years ago
1
ISO8601 Date Interval
PCRE (PHP <7.3)
ISO8601 Date Interval with support for fractional values and repeating intervals. DOES NOT SUPPORT fixed intervals (e.g. 2016-03-22P3D or 2016-03-22T14:00Z--2016-03-2518:00+02:00). See https://regex101.com/r/iN2zO9/1 for a ISO8601 date time regex.
Submitted by
Tobias Marstaller
-
9 years ago
0
Date expression
ECMAScript (JavaScript)
yyyy-mm-dd
Submitted by
Alan
-
9 years ago
1
date validation (yyyy-mm-dd)
Python
no description available
Submitted by
anonymous
-
9 years ago
1
ISO 8601 date formats incl. validation
PCRE (PHP <7.3)
Test for all ISO 8601 date formats and only accept valid dates, e.g. 2016-02-29, but not 2016-02-30 or 2017-02-29.
Submitted by
Christoph Päper (Crissov)
-
9 years ago
1
Simple Shamsy Date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Pubmed Dates
PCRE (PHP <7.3)
PubMEd XML contains multiple date blocks, with or without Month, day, hour, minute. USAGE: while(my($pubstatus,$year,$month,$day,$hour,$minute)= $article =~ m% (?:\s* (?:\s(\d?)\s)* (?:\s(\d?)(?:)?\s)...
Submitted by
Andy Reid
-
9 years ago
1
dates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
DD-MM-YYYY
ECMAScript (JavaScript)
Any date that as a valid month, a valid date and a year composed of 4 numbers. You can change the '-' caracter to any divider you want.
Submitted by
anonymous
-
9 years ago
1
DD-MM-YYYY
ECMAScript (JavaScript)
Any date that as a valid month, a valid date and a year composed of 4 numbers. You can change the '-' caracter to any divider you want.
Submitted by
anonymous
-
9 years ago
1
Validation for full ISO8601 date and time with timezone
ECMAScript (JavaScript)
The RegExp validates ISO8601 date and time (without milliseconds) with timezone offset.
Submitted by
pioneer32
-
9 years ago
1
Dates
PCRE (PHP <7.3)
Date for spanish calendar
Submitted by
gornovah
-
9 years ago
1
regex for iso 8601 date between 1970 and 2999
PCRE (PHP <7.3)
regex for iso 8601 date between 1970 and 2999 that match only valid date, the only mistake possible in this regexp is the bisextile year how are not checked
Submitted by
KurayamiNoDaiTenshi
-
9 years ago
1
regex for iso 8601 date between 1970 and 2999
ECMAScript (JavaScript)
regex for iso 8601 date between 1970 and 2999 that match only valid date, the only mistake possible in this regexp is the bisextile year how are not checked
Submitted by
KurayamiNoDaiTenshi
-
9 years ago
1
/^\d{4}-\d{2}-\d{2}$/
PCRE (PHP <7.3)
date regax
Submitted by
anonymous
-
9 years ago
1
Date and Day
PCRE (PHP <7.3)
Thur 10 Tue 2 Mon 1 e.t.c
Submitted by
anonymous
-
9 years ago
1
Dates validation
PCRE (PHP <7.3)
Not accurate
Submitted by
anonymous
-
9 years ago
0
date dd.mm.yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Apache Error Log Date Parsing
PCRE (PHP <7.3)
Parse the date from an Apache Error Log in the format of "Wed Jun 01 20:05:21.12345 2016"
Submitted by
garys
-
9 years ago
1
Turkish Date (4 digit year) Regex (with leap year control)
PCRE (PHP <7.3)
Following inputs are accepted dd.mm.yyyy while 29.02.2016 accepted, 29.02.2017 is not. also some months last days should be 30, not 31 ...
Submitted by
Abdulhamit Mabocoglu
-
9 years ago
1
...
6
7
8
9
10
...
26