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 80 community submitted regex patterns...
1
Date and age matcher
Python
matches strings like: "01/04/2023", "14/May/24" and "20" (age). WARNING: for american dates swap day and month! Groups: Date - the whole date Day - day Month - month...
Submitted by
OlgPok
-
a year ago
(Last modified a year 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
0
Extract structure from dates
Python
1-12 / 2022
Submitted by
anonymous
-
2 years ago
0
Match Dates
Python
Write a program, which matches a date in the format "dd{separator}MMM{separator}yyyy". Use capturing groups in your regular expression.
Submitted by
anonymous
-
2 years ago
0
datetime
Python
Simple datetime expression for [DD.MM[.YYYY]]T[hh[:mm]]
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
datecheck
Python
expression pour checker les dates
Submitted by
anonymous
-
3 years ago
0
valid date
Python
this regular expression is for validating dates in yyyy-mm-dd format
Submitted by
anonymous
-
3 years ago
0
ISO8601 Date/Time Parser
Python
Parses most of the variations of ISO8601 that are allowed, including dates only and date/time with or without the time zone.
Submitted by
Mumblepins
-
3 years ago
0
Matching %d-%b date format
Python
Matching %d-%b date format with or without leading 0 in the day
Submitted by
Justin Copeland
-
3 years ago
0
regex expression to DateTime checking in YYYY-MM-DDTHH:MM:SS[+/-]HH:SS
Python
/(^((\d{4}-(((013578]|[1)-(01-9]|[1-2]\d|3[01]))))|((\d{4}-(((0[469]|[1)-(01-9]|[1-2]\d|[3)))))|((\d{4}-(02]-(0[1-9]|[1-2]\d)))))T(([01]\d|2[0-3]):([0-5]\d):([0-5]\d))?([+-\d:[0-5]\d)$)/gm
Submitted by
anonymous
-
3 years ago
(Last modified 2 years ago)
1
Paystub Basic Salary
Python
Extract Amount and Date from Paystub
Submitted by
MAJED MUSA GHANIM
-
4 years ago
0
Parse ISO date with named group for Python
Python
Parses ISO date like: 2021-01-19T15:21:32.59+02:00 and returns these named groups: fulldate (full date and time) date (2021-01-19)...
Submitted by
Fabio Rotondo (fsoft)
-
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
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)
0
SSC/lexisnexis/clean_docket+date+dispo/dockets/extract_appealscourt_dispo/MS/(2/2)
Python
Regex pattern (2/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
anonymous
-
4 years ago
(Last modified 4 years ago)
1
2
3
4