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...
0
PLP redirection
PCRE2 (PHP >=7.3)
PLP redirection
Submitted by
anonymous
-
10 months ago
0
Match IP Address with Port Number
PCRE2 (PHP >=7.3)
Movin4Life.org
Submitted by
anonymous
-
4 months ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
4 months ago
(Last modified 4 months ago)
0
Validates an IPv4 Address
PCRE2 (PHP >=7.3)
Given a string, the regex would match if it is a valid IPv4 address.
Submitted by
A-Paint-Brush
-
4 months ago
(Last modified 4 months ago)
-2
Finds HTML img tags
PCRE (PHP <7.3)
no description available
Submitted by
Matt Solum
-
11 years ago
-2
Select ID from regex101 URL
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
11 years ago
-2
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
1_aa3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
Find multiple XML documents in file
PCRE (PHP <7.3)
as title says
Submitted by
Doro
-
11 years ago
-2
indonesian p0rn word filter
PCRE (PHP <7.3)
find and replace bad and p0rn indonesian words
Submitted by
teknokoplak
-
11 years ago
-2
valid windows file name
ECMAScript (JavaScript)
no description available
Submitted by
Mitacha
-
10 years ago
-2
link
Python
no description available
Submitted by
NTP-[SADAS]
-
10 years ago
-2
Comma-separated numbers with ranges
ECMAScript (JavaScript)
no description available
Submitted by
Eugene
-
10 years ago
-2
five word capture
Python
no description available
Submitted by
anonymous
-
10 years ago
-2
match only words consisting of 3 repeated letters, e.g. lllkkk
Python
no description available
Submitted by
kali
-
10 years ago
-2
python bracketed text
Python
why doesn't this match text in brackets?
Submitted by
anonymous
-
10 years ago
-2
Match website - http:|https://i.imgur.com
ECMAScript (JavaScript)
no description available
Submitted by
ghrifter
-
10 years ago
-2
Match Content-Range response header
ECMAScript (JavaScript)
Matches the Content-Range response header format -[end]/[total|*]
Submitted by
mdezem
-
10 years ago
-2
Host and domains
Python
no description available
Submitted by
anonymous
-
10 years ago
-2
Validate credit card numbers
PCRE (PHP <7.3)
Visa, MasterCard, American Express, Diners Club, Discover, JCB
Submitted by
www.regular-expressions.info/creditcard.html
-
10 years ago
1
...
567
568
569
570
571
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
\d
+
)
(?<!
10
)
(?<!
127
)
\.
(
\d
+
)
(?<!
192
\.
168
)
(?<!
172
\.
(
1
[
6
-
9
]
|
2
[
0
-
9
]
|
3
[
0
-
1
]
)
)
\.
(
\d
+
)
\.
(
\d
+
)
/
g
Open regex in editor
Description
Matches publicly available IPv4 addresses (excludes 10., 172.16-32, and 192.168 blocks).
Submitted by
anonymous
-
9 years ago