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
Valid Date or N/A
PCRE (PHP <7.3)
Validates date or allows "n/a" input and variations
Submitted by
David Avellan
-
9 years ago
1
Forecast.io API's required ISO 8601 datetime
PCRE (PHP <7.3)
Should match one of the valid ISO 8601 datetime formats accepted by Forecast.io API: YYYY]-[MM]-[DD]T[HH]:[MM]:[SS] with an optional time zone formatted as Z for GMT time or {+,-}[HH]:[MM for an offset
Submitted by
Clifford Paulick
-
9 years ago
1
Date Regex
PCRE (PHP <7.3)
Find a date formated M/d/yyyy.
Submitted by
anonymous
-
9 years ago
1
Date
PCRE (PHP <7.3)
Valid Date format:
Submitted by
Daniel
-
9 years ago
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
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
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
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
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
Date validation in dd MMM yyyy format
PCRE (PHP <7.3)
Date validation in dd MMM yyyy format Ex:14 Jan 2014
Submitted by
neel
-
9 years ago
1
Date
PCRE (PHP <7.3)
Legal dates
Submitted by
anonymous
-
9 years ago
1
Get Month and Year from different date format
PCRE (PHP <7.3)
Get Month and Year from different date format
Submitted by
ankit s
-
9 years ago
1
.NET Json DateTime
PCRE (PHP <7.3)
.NET Json serializer DateTime pattern.
Submitted by
Joma Espinoza Bone
-
9 years ago
1
Date validation mm/dd/yyyy
PCRE (PHP <7.3)
Date validation mm/dd/yyyy
Submitted by
Girish
-
9 years ago
1
US Format Short Date String
ECMAScript (JavaScript)
Matches any short date string between 1/1/2000 - 12/31/2199 in the formats: d/m/yyyy, dd/m/yyyy, d/mm/yyyy, or dd/mm/yyyy
Submitted by
anonymous
-
9 years ago
1
Regex to validate date format yyyy/mm/dd | Taha
PCRE (PHP <7.3)
Regex to validate date format yyyy/mm/dd
Submitted by
Taha Bhutta
-
9 years ago
1
Validate PHP DateInterval Format
PCRE (PHP <7.3)
Checks if string is valid DateInterval format
Submitted by
grambas
-
9 years ago
1
FInd Dates
PCRE (PHP <7.3)
Find Dates from string
Submitted by
anonymous
-
7 years ago
1
Wordless Date Validation
PCRE (PHP <7.3)
Validate and capture different dates without words for example: dd/mm/yyyy, d/m/yy, yyyy-mm-dd, yy-mm-dd
Submitted by
anonymous
-
6 years ago
1
...
3
4
5
6
7
...
26