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
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
UK style date
PCRE2 (PHP >=7.3)
dd/mm/yyyy
Submitted by
Russ Ferriday, from Docusign templates
-
4 years ago
1
US Date Format to ISO using regex substitution
PCRE2 (PHP >=7.3)
Convert a US Date format to ISO
Submitted by
Joe Kruger
-
4 years ago
1
Date regex
PCRE2 (PHP >=7.3)
this regex check if the date is in the format d/m/Y H:i , it will not check the number of days in month
Submitted by
Kristian lentino
-
4 years ago
0
Capture Groups for Date Parsing
PCRE2 (PHP >=7.3)
Rip apart a date-time and reassemble the parts.
Submitted by
Richard Eigenmann
-
4 years ago
2
yyyy/mm/dd
Java 8
^(((\d{3}1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|[2468|13579)|((048]|[2468|3579)00))(\/)02(\/)29))$ Match year/month/day, date format. E.g: 2021/08/25 [match] 2021/...
Submitted by
mayl0421
-
4 years ago
0
File information modify
Java 8
file_(name)|file_(path)|file_(size)|file_(date) - searching (regex rule) file_info, name, path, size, date - keeping (result)
Submitted by
Dorival Trindade
-
4 years ago
0
Dates in fluent language
ECMAScript (JavaScript)
Dates in fluent language
Submitted by
xxx
-
4 years ago
1
Search for a date (Y/m/d or d/m/Y)
PCRE2 (PHP >=7.3)
Search for a date in a text.
Submitted by
globdug
-
4 years ago
0
How to find the nth occurrence of a pattern date
PCRE (PHP <7.3)
This is a very useful pattern to find Nth occurency of a data in this format dd/mm/yyyy but can be abstracted for other situations
Submitted by
Mauro99
-
4 years ago
0
Match Dates
PCRE2 (PHP >=7.3)
extracts dates from text; Valid date format: dd-MMM-yyyy
Submitted by
anonymous
-
4 years ago
0
Date YYYY-MM-DD | YYYY/MM/DD | YYYY.MM.DD (ex. 2021-12-09) (leading zeros for month and day)
Python
For Dates formatted YYYY-MM-DD separated by Dot (.) Dash(-) or Slash(/) like (2021-04-08) with Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date YYYY-M-D | YYYY/M/D | YYYY.M.D (ex. 2021-9-2) (without leading zeros for month and day)
Python
For Dates formatted YYYY-M-D separated by Dot (.) Dash(-) or Slash(/) like (2021-9-2) without leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date DD-MM-YYYY | DD/MM/YYYY | DD.MM.YYYY (ex. 28-02-2021) (leading zeros for month and day)
Python
For Dates formatted DD-MM-YYYY separated by Dot (.) Dash(-) or Slash(/) like (28–02-2021) with leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date D-M-YYYY | D/M/YYYY | D.M.YYYY (ex. 28-02-2021) (without leading zeros for month and day)
Python
For Dates formatted D-M-YYYY separated by Dot (.) Dash(-) or Slash(/) like (28-2-2021) without leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date M-D-YYYY | M/D/YYYY | M.D.YYYY (ex. 9-2-2021) (without leading zeros for month and day)
Python
For Dates formatted M-D-YYYY separated by Dot (.) Dash(-) or Slash(/) like (9-2-2021) without leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date MM-DD-YYYY | MM/DD/YYYY | MM.DD.YYYY (ex. 09-02-2021) (leading zeros for month and day)
Python
For Dates formatted MM-DD-YYYY separated by Dot (.) Dash(-) or Slash(/) like (09-02-2021) with leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date parser
PCRE2 (PHP >=7.3)
Some invalid dates are matched. For those, add control using java when parsed if number is greater than limit.
Submitted by
anonymous
-
4 years ago
0
SSC/lexisnexis/clean_docket+date+dispo/dockets/extract_appealscourt_dispo/OR
PCRE2 (PHP >=7.3)
Regex pattern (1/1) for function "def extract_appealscourt_dispo()" for Oregon. This function extracts the part of the dispo relative to the court of appeals when dispo is reported relative to multiple courts.
Submitted by
Joost Sijthoff
-
4 years ago
0
SSC/lexisnexis/clean_docket+date+dispo/dockets/extract_appealscourt_dispo/MS/(1/2)
Python
Regex pattern (1/2) for function "def extract_appealscourt_dispo()" for Mississippi. This function extracts the part of the dispo relative to the court of appeals when dispo is reported relative to multiple courts.
Submitted by
Joost Sijthoff
-
4 years ago
(Last modified 4 years ago)
1
...
5
6
7
8
9
...
26