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
better orf finder
PCRE (PHP <7.3)
don't use my older one
Submitted by
tnrich
-
9 years ago
1
Orf Finder
PCRE (PHP <7.3)
Finds open reading frames in a dna sequence string.
Submitted by
tnrich
-
9 years ago
-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
...
822
823
824
825
826
...
902
Community Library Entry
-2
Regular Expression
PCRE (PHP <7.3)
/
<
\/
?
\w
+
(
(
\s
+
\w
+
(
\s
*
=
\s
*
(?:
"
.
*
?
"
|
'
.
*
?
'
|
[^
'">
\s
]
+
)
)?
)+
\s
*
|
\s
*
)
\/
?
>
/
g
Open regex in editor
Description
http://haacked.com/archive/2004/10/25/usingregularexpressionstomatchhtml.aspx/
Submitted by
anonymous
-
9 years ago