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...
0
Valid Dates
PCRE2 (PHP >=7.3)
e
Submitted by
anonymous
-
4 years ago
0
Date2 (Notes)
PCRE (PHP <7.3)
Date2 (Notes)
Submitted by
anonymous
-
4 years ago
0
Breakdown datetime stamp into parts (YYYY-MM-DD[T]HH:MM:SS)
ECMAScript (JavaScript)
This will break the datetime string into it's individual parts and add them into named groups.
Submitted by
Tony Hume
-
4 years ago
0
PHPDocumentor - Add missing @since tags in doc blocks
PCRE2 (PHP >=7.3)
This regular expression helps keeping the PHP documentation up to date by adding the @since tags in the doc block where there are none.
Submitted by
raaaahman
-
4 years ago
0
v1.colName, v2.colName ==> or decode( v1.colName, v2.colName, 1, 0) = 0
PCRE2 (PHP >=7.3)
For Oracle DB, as it doesn't consider null != informed DATE, and considers null != null. For the WHERE clause. = 0 to get differences = 1 to get "sameness"...
Submitted by
R. Moreno
-
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)
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
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
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 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 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 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
Match Dates
PCRE2 (PHP >=7.3)
extracts dates from text; Valid date format: dd-MMM-yyyy
Submitted by
anonymous
-
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
Dates in fluent language
ECMAScript (JavaScript)
Dates in fluent language
Submitted by
xxx
-
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
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
1
...
20
21
22
23
24
...
26