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,020 community submitted regex patterns...
1
Find php short open tags
PCRE (PHP <7.3)
Finds instances of <? instead of <?php
Submitted by
JayCee
-
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
Extract port from URL
PCRE (PHP <7.3)
Extracts the port from different possible forms of URL
Submitted by
anonymous
-
9 years ago
1
Email verification
PCRE (PHP <7.3)
no description available
Submitted by
SonnY
-
9 years ago
1
soundcloud url
PCRE (PHP <7.3)
soundcloud url in a link
Submitted by
ogerly
-
9 years ago
1
soundclouds url in <a>
ECMAScript (JavaScript)
soundclouds url in
Submitted by
ogerly
-
9 years ago
1
youtube link
ECMAScript (JavaScript)
+ link + id
Submitted by
ogerly
-
9 years ago
1
mytest
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
Orf Finder
PCRE (PHP <7.3)
Finds open reading frames in a dna sequence string.
Submitted by
tnrich
-
9 years ago
1
Cordon - SFR - HDD Serial number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
youku
PCRE (PHP <7.3)
parse youku video id
Submitted by
egg-
-
9 years ago
1
youku video_id
PCRE (PHP <7.3)
parse youku video id
Submitted by
egg-
-
9 years ago
1
jsDoc Parameter Splitter
ECMAScript (JavaScript)
Finds parameters in jsDocs (parameters are sections of information starting with @ and only appear in a block after free floating text
Submitted by
anonymous
-
9 years ago
1
extract video id from youtube url
PCRE (PHP <7.3)
no description available
Submitted by
egg-
-
9 years ago
1
Regex for matching assignments
ECMAScript (JavaScript)
Match the java assignments and get the assigned value
Submitted by
mohamedrias
-
9 years ago
1
URL supporting ports, GET params and js routing
PCRE (PHP <7.3)
(http(s)?:\/\/) // http:// or https:// (([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)+(:[1-9]+[0]*)?)(\/?| // basic url f.e. www.wp.pl with obligatory / at end ...
Submitted by
Rafał Rowiński
-
9 years ago
1
Get Content within brackets
PCRE (PHP <7.3)
Get Content within brackets
Submitted by
anonymous
-
9 years ago
1
Israeli Phone Number
PCRE (PHP <7.3)
Validate Israeli common phone numbers (simple landline and mobile only, no special / free / premium numbers)
Submitted by
uda
-
9 years ago
1
URL validator with tests
PCRE (PHP <7.3)
inspired by https://mathiasbynens.be/demo/url-regex and the pattern from @imme_emosol
Submitted by
Elmervc
-
9 years ago
1
...
94
95
96
97
98
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
1
?
\d
{1,2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
1
?
\d
{1,2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
1
?
\d
{1,2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
1
?
\d
{1,2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\/
?
(
\b
|
\/
32
)
/
g
Open regex in editor
Description
Match IPv4 address, optionally with /32 CIDR notation
Submitted by
anonymous
-
7 years ago