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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 12,620 community submitted regex patterns...
1
Parse an HL7 date, and capture the components
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
AD Default Password Policy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
periodic-digit-numbers
PCRE (PHP <7.3)
no description available
Submitted by
Wolf
-
9 years ago
1
hostname
PCRE (PHP <7.3)
RFC 1123 compatible RegEx for a hostname (not a domain name), inspired by chapter 7.15 from Regular Expressions Cookbook.
Submitted by
anonymous
-
9 years ago
2
catch options
PCRE (PHP <7.3)
catch options
Submitted by
Marek R
-
9 years ago
1
NSE0(.*)\nNSE1\s+(.*)\nNSE2\s(.*)\nNSE3\s+(.*)kbps.*\nNSE4\s+(.*)\nNSE
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Single Mustache
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Google Sheets Reference Formula
ECMAScript (JavaScript)
Matches and extracts the relevant parts of reference formulas from Google Sheets. For instance: ='Test Sheet'!H$5
Submitted by
anonymous
-
9 years ago
1
get top level domain excluding ports
ECMAScript (JavaScript)
I need to get the top level domain from the request header but it can be in a vary ways.. how can I match but exclude parts I dont want to get ie. ports
Submitted by
nei
-
9 years ago
0
Match Linux File basename and pathname
PCRE (PHP <7.3)
Matches 2 groups - pathname and file basename, and will exclude anything on the end of the line that is not properly escaped.
Submitted by
Steve Sant
-
9 years ago
11
Remove Special Ascii Characters from unicode String
PCRE (PHP <7.3)
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Submitted by
Hummad Hassan
-
9 years ago
2
Select all chars before last backslash
PCRE (PHP <7.3)
For selecting paths without filename
Submitted by
Me!
-
9 years ago
1
Search for Qualifications
PCRE (PHP <7.3)
This will identify M.D.'s and D.O.s, regardless of punctuation (within reason) and exclude similar matches (e.g., DMD)
Submitted by
anonymous
-
9 years ago
2
YouTube Embed Video & Playlist from URL
ECMAScript (JavaScript)
It gets the playlistID and the videoID to conform the embed URL from the video URL
Submitted by
@rubenlopezgea
-
9 years ago
0
YouTube VideoID and ListID from URL
PCRE (PHP <7.3)
For embeding, replace with //www.youtube.com/embed/$3?list=$2$6
Submitted by
@rubenlopezgea
-
9 years ago
1
Indonesia Post Code
PCRE (PHP <7.3)
no description available
Submitted by
respeto
-
9 years ago
1
border syntax checker
PCRE (PHP <7.3)
Checks the css value for a border
Submitted by
Benjamin Weigt
-
9 years ago
1
lisp
PCRE (PHP <7.3)
match function names in defun constructs
Submitted by
anonymous
-
9 years ago
7
simple common lisp tokenizer
ECMAScript (JavaScript)
main symbols and comments are supported
Submitted by
d4rw1n1s7@gmail.com
-
9 years ago
5
parsing CSV file
PCRE (PHP <7.3)
It correctly handles simple values, empty values, and quoted values with commas inside.
Submitted by
Viktor Lova aka nsinreal
-
9 years ago
1
...
591
592
593
594
595
...
631
AutoDateRegex
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?<DAY>
d-
[
0
-
9
]
{1,2}
|
(
[
12
]
[
0
-
9
]
|
3
[
01
]
|
0
[
1
-
9
]
|
[
1
-
9
]
)
|
d
)
(?<MONTH>
m-
[
0
-
9
]
{1,2}
|
(
0
[
1
-
9
]
|
1
[
012
]
)
|
m
)
(?<YEAR>
y-
[
0
-
9
]
{1,2}
|
(
[
12
]
[
09
]
[
0
-
9
]
[
0
-
9
]
)
|
y
)
$
/
gmix
Open regex in editor
Description
Regex for date for example in saved reports (01m-1y) beginning of last month Format -> dmy
Submitted by
Mayer@netgo.org
-
9 years ago