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
Convert YYMMDD to DD/MM/YY
PCRE (PHP <7.3)
I'm new to regular expressions and I've been searching high and low for this really simple date conversion from YYMMDD to DD/MM/YY e.g. 140923 to 23/09/14. Maybe I just didn't search hard enough, but here goes: Search/original string: (\d{4})(\d{2})(\d{2}) ...
Submitted by
Nike Begbaaji
-
11 years ago
1
AutoDateRegex
PCRE (PHP <7.3)
Regex for date for example in saved reports (01m-1y) beginning of last month Format -> dmy
Submitted by
Mayer@netgo.org
-
10 years ago
1
Duration with mandatory 'm'
ECMAScript (JavaScript)
Parses date-time duration strings +-1y2M3d4h5m6s, where 'm' is the dafault. Like this, where {} contains list of capturing groups: 21 - parsed as {,,,,21,} 2y2s - parsed as {2,,,,,2}
Submitted by
mbonaci
-
10 years ago
1
LogExpert RegexColumnizer for Magento
PCRE (PHP <7.3)
This is for the windows application LogExpert with the RegexColumnizer extension. This will split log entries into columns ( Date | Time | LogLvl | LogMsg )
Submitted by
Chris Soper - Howell Marketing Services
-
10 years ago
1
DP-1204
PCRE (PHP <7.3)
jira.rubiconproject.com/browse/DP-1204-Date different issue
Submitted by
anonymous
-
10 years ago
1
/(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2}) (\w+)/g
PCRE (PHP <7.3)
Gets year month date hour minute seconds and time zone value yyyy-mm-dd hh:mm:ss UTC $1 $2 $3 $4 $5 $6 $7
Submitted by
hiren raj
-
10 years ago
1
Work Time Parsing
PCRE (PHP <7.3)
Parsing my work time sheet (doesn't validate times/dates). Options available: 12/17/2015 09:00 - 13:00 12/17/2015 09:00 - 17:00 LUNCH 00:30 12/17/2016 HOLIDAY
Submitted by
Anthony N
-
9 years ago
1
NovellLoginTime
PCRE (PHP <7.3)
Strip everything but date from Novell LDAP lastLoginTime field.
Submitted by
anonymous
-
9 years ago
1
Finnish SSN
PCRE (PHP <7.3)
Finnish SSN are of form DDMMYYXNNNC where DDMMYY is date of birth, X is -, +, or A based on the century of birth, NNN is an order number (even for females and odd for males) and C is a checksum character.
Submitted by
Hanzki
-
9 years ago
1
MW: FIX log records for lastfill
PCRE (PHP <7.3)
To grab date, orderId, SID, ticker, venue, lastfill from a string
Submitted by
anonymous
-
9 years ago
1
/^\d{4}-\d{2}-\d{2}$/
PCRE (PHP <7.3)
date regax
Submitted by
anonymous
-
9 years ago
1
iso8610 extended
PCRE (PHP <7.3)
match ISO 8610 formatted dates
Submitted by
marco benuzzi
-
9 years ago
1
Skype/IRC log syntax highlighting
Python
Matches date/time/name in several different formats, accounting for brackets, etc Sirenfal: Asdf [11:54] Asdf 11:54 Sirenfal: Asdf [1/1/06 11:54 AM] Sirenfal: asdf...
Submitted by
Sirenfal
-
9 years ago
1
Jade file, change input type and add class
ECMAScript (JavaScript)
It change type='date' to type='text' and add the class .datepicker before the opening '('
Submitted by
Eoifirst
-
9 years ago
1
Product Code Matcher
Python
Regex to find product codes that are usually all upper case with numbers or all numbers with possible hyphens, slashes or dots as delimiters. Anything that matches the date format ##/##/##?? with various delimiters will not match. Require that the code contains at least 1 number. ...
Submitted by
anonymous
-
8 years ago
1
linux log regex
Python
used to pull Date, time and PID from linux log files
Submitted by
anonymous
-
5 years ago
1
linux log regex
Python
Matches Date & time in group 1, and the PID in group 4. will update to match computer name and user names too when i can.
Submitted by
anonymous
-
5 years ago
1
ParsingAmazonInvoice
PCRE2 (PHP >=7.3)
Goes through a Plain text derived from a PDF capturing the order number, the items, the order and ship dated and the costs.
Submitted by
anonymous
-
4 years ago
1
Paystub Basic Salary
Python
Extract Amount and Date from Paystub
Submitted by
MAJED MUSA GHANIM
-
3 years ago
1
Cron Job Regular Expression for JavaScript / ECMAScript
ECMAScript (JavaScript)
Simple pattern for validating Cron Job descriptors in your JavaScript / TypeScript / ECMAScript projects. Includes support for date ranges, day ranges, digit ranges, divisors... all of the things you'd expect to encounter in possible Cron values.
Submitted by
Nicholas Berlette (https://github.com/nberlette)
-
2 years ago
1
...
8
9
10
11
12
...
26