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
Date Regex yyyy-mm-dd with leap year
PCRE (PHP <7.3)
/((20)0-9]{2}[-|102])[-|12|301]))|((20)[0-9]{2}[-|11)-|12|30))|((20)0-9]{2}[--|10-9]|2[0-8]))|((((20)(04|08|[2468|13579))|2000)-[-]29)/g
Submitted by
anonymous
-
5 years ago
1
UK style date
PCRE2 (PHP >=7.3)
dd/mm/yyyy
Submitted by
Russ Ferriday, from Docusign templates
-
4 years ago
1
US Style Date - from Docusign template
PCRE2 (PHP >=7.3)
mm/dd/yyyy
Submitted by
Russ Ferriday, based on customer docusign template
-
4 years ago
1
find literal yyyy-mm-dd dates
PCRE2 (PHP >=7.3)
to find usage of magic strings in a codebase
Submitted by
anonymous
-
2 years ago
1
DATE FORMAT REGEX ALL COMBINAISIONS
PCRE2 (PHP >=7.3)
For the day: d Displays the day as a number without a leading zero (1-31). dd Displays the day as a number with a leading zero (01-31). ddd Displays the day as an abbreviation (Sun-Sat) dddd Displays the day as a full name (Sunday-Saturday) ...
Submitted by
EYA GHACHEM
-
2 years ago
1
FORMAT DATE WITH NO SEPARATOR
PCRE2 (PHP >=7.3)
For the day: d Displays the day as a number without a leading zero (1-31). dd Displays the day as a number with a leading zero (01-31). ddd Displays the day as an abbreviation (Sun-Sat) dddd Displays the day as a full name (Sunday-Saturday) ...
Submitted by
EYA GHACHEM
-
2 years ago
1
DD/MM/YYYY Date with leap years
Python
1000-9999 years '-', ' ', ':', '.', or '/' may be user as divider
Submitted by
furren
-
a year ago
1
Best birth date check
ECMAScript (JavaScript)
Format YYYY-MM-JJ
Submitted by
anonymous
-
a year ago
1
Birth date check format yyyy-mm-dd
ECMAScript (JavaScript)
Start from 1900-01-01
Submitted by
anonymous
-
a year ago
1
(Good enough) Birth Date match
PCRE2 (PHP >=7.3)
Follows ISO 8601 standard (YYYY-MM-DD) $1 is year, $2 is month and $3 is day (for substitution)
Submitted by
Danry Bir
-
a year ago
1
Match a date in DD-MM-YYYY format
PCRE2 (PHP >=7.3)
memoryjarapp.com
Submitted by
anonymous
-
10 months ago
1
Extract Dates in Long Format
PCRE2 (PHP >=7.3)
simplicitylabs.net
Submitted by
anonymous
-
10 months ago
1
Match Date and Time (ISO 8601)
PCRE2 (PHP >=7.3)
buzzword101.com
Submitted by
anonymous
-
10 months ago
1
Match Dates in Multiple Formats (DD/MM/YYYY or MM-DD-YYYY)
PCRE2 (PHP >=7.3)
toptechietimes.com
Submitted by
anonymous
-
10 months ago
1
Match Credit Card Expiry Date
PCRE2 (PHP >=7.3)
stockmoneys.com
Submitted by
anonymous
-
10 months ago
1
Match Date in ISO 8601 Format
PCRE2 (PHP >=7.3)
ekindesigns.com
Submitted by
anonymous
-
10 months ago
1
Validate Credit Card Expiration Date
PCRE2 (PHP >=7.3)
digitalogymedia.com
Submitted by
anonymous
-
10 months ago
1
Matching Dates with Day of Week (e.g., Monday, August 14, 2024)
PCRE2 (PHP >=7.3)
mayurscanecorner.com
Submitted by
anonymous
-
10 months ago
1
Matching Dates in MM-DD-YYYY Format
PCRE2 (PHP >=7.3)
techwiki.biz
Submitted by
anonymous
-
10 months ago
1
Month Day, Year match
Python
Match a date in the following Month Day, Year format: June 14, 2013
Submitted by
Drew
-
11 years ago
1
...
7
8
9
10
11
...
26