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
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 18,040 community submitted regex patterns...
-2
find mp3 file
ECMAScript (JavaScript)
find mp3 file embeded in a link
Submitted by
ogerly
-
9 years ago
1
JQuery .live to JQuery .on
PCRE (PHP <7.3)
replaces deprecated .live method with corresponding .on
Submitted by
Hossein Naderi
-
9 years ago
1
mytest
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
youtube link
ECMAScript (JavaScript)
+ link + id
Submitted by
ogerly
-
9 years ago
1
soundclouds url in <a>
ECMAScript (JavaScript)
soundclouds url in
Submitted by
ogerly
-
9 years ago
1
soundcloud url
PCRE (PHP <7.3)
soundcloud url in a link
Submitted by
ogerly
-
9 years ago
1
Email verification
PCRE (PHP <7.3)
no description available
Submitted by
SonnY
-
9 years ago
0
Email verification
PCRE (PHP <7.3)
no description available
Submitted by
SonnY
-
9 years ago
0
DateTime: yyyy-M-d-HH-mm-ss (.NET)
PCRE (PHP <7.3)
Validates DateTime in format 'yyyy-M-d-HH-mm-ss'(.NET) in mind with possible zeros, minimal values, maximal values and infinite year
Submitted by
CryoCZ
-
9 years ago
0
Match links in html
PCRE (PHP <7.3)
Matches all from
Submitted by
anonymous
-
9 years ago
5
MAC address
ECMAScript (JavaScript)
a mac address separated by dashes or colons.
Submitted by
anonymous
-
9 years ago
1
Extract port from URL
PCRE (PHP <7.3)
Extracts the port from different possible forms of URL
Submitted by
anonymous
-
9 years ago
1
Find php short echo tags
PCRE (PHP <7.3)
Find instances of Usefult to replace with
Submitted by
JayCee
-
9 years ago
1
Find php short open tags
PCRE (PHP <7.3)
Finds instances of <? instead of <?php
Submitted by
JayCee
-
9 years ago
0
negative lookbehind
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Prime numbers test
Python
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
Submitted by
LexDias
-
9 years ago
1
111
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Machine Readable Passport - Extractor
PCRE (PHP <7.3)
First version of MRP Extractor Future versions include Merge with validator (if possible) Check nationalities
Submitted by
Mauro
-
9 years ago
1
url 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
822
823
824
825
826
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
(
[
1
-
9
]
|
1
[
0
-
2
]
)
(
|
)
[
apAP
]
[
mM
]
)
(
(
|
)
-
(
|
)
|
to
)
(
(
[
1
-
9
]
|
1
[
0
-
2
]
)
(
|
)
[
apAP
]
[
mM
]
)
|
TBD
|
tbd
)
\s
*
$
/
Open regex in editor
Description
following input formats work--
10am to 3pm 1am - 2pm 12pm-3pm
Submitted by
anonymous
-
9 years ago