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
Extract /24 (IPv4) or /64 (IPv6)
PCRE (PHP <7.3)
This extracts the first three octets of an IPv4 address, or the first half of an IPv6 address. This may be suitable for classifying addresses by address groups.
Submitted by
anonymous
-
7 years ago
0
Extract domain name from fully-qualified name
PCRE (PHP <7.3)
This attempts to extract the top-level domain name from a fully-qualified name. It recognizes the third-level domain structure commonly used by the .uk TLD, extracts only the 2LD.TLD from the common legacy TLDs (com, net, org, etc.). It will undoubtedly need some care and feeding as new TLDs becom...
Submitted by
anonymous
-
7 years ago
0
PFITS Comments Strip HTML Tags
Python
Final version used in script.
Submitted by
Landon Sutherland
-
7 years ago
0
Regular expression in PHP to return array with all images from html
PCRE (PHP <7.3)
Example: preg_match_all('//', '', $arr, PREG_PATTERN_ORDER); Returns:...
Submitted by
anonymous
-
7 years ago
0
Lb 4 email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 familia
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 kavichek
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 kavichek top
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 serinii nomer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Website Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Validate dutch housenumbering.
PCRE (PHP <7.3)
Matches things like; 38A 17b 950 ...
Submitted by
Jordy van Domselaar
-
7 years ago
0
ValidNames
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Class
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Универсальная регулярка для выпаршивания полного стека логических операторов шаблонизатора HTML.
PCRE (PHP <7.3)
no description available
Submitted by
Yuriy Esin (Exomode)
-
7 years ago
0
Mustache Language parser regexp
ECMAScript (JavaScript)
Useful for parsing HTML templates written in mustache language. This regex does not support custom delimiter tags. For documentation see: http://mustache.github.io/mustache.5.html
Submitted by
anonymous
-
7 years ago
0
Lb4 11zad
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
KSA Mobile Validation
PCRE (PHP <7.3)
KSA Mobile Validation Start with 5 and only 9 numbers
Submitted by
anonymous
-
7 years ago
0
File Pdf and Image jpg Extention
PCRE (PHP <7.3)
File Pdf and Image jpg Extention
Submitted by
Wafique
-
7 years ago
0
Lb4 mat
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
78
79
80
81
82
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
http
(
s
?
)
:
\/\/
)?
(
(
(
www
\.
)?
+
[
a
-
zA
-
Z0
-
9
\.\-\_
]
+
(
\.
[
a
-
zA
-
Z
]
{2,3}
)+
)
(
:
[
0
-
9
]
{1,5}
)?
|
(
\b
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\b
)
)
(
:
[
0
-
9
]
{1,5}
)?
(
\/
[
a
-
zA
-
Z0
-
9
\_\-
\s
\.\/\?\%\#\&\=
]
*
)?
$
/
gm
Open regex in editor
Description
Valid Link/URL for Event Callbacks
Submitted by
tim-engnz
-
2 years ago