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
Универсальная регулярка для выпаршивания полного стека логических операторов шаблонизатора HTML.
PCRE (PHP <7.3)
no description available
Submitted by
Yuriy Esin (Exomode)
-
7 years ago
0
Class
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
ValidNames
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
PFITS Comments Strip HTML Tags
Python
Final version used in script.
Submitted by
Landon Sutherland
-
7 years ago
0
Website Regex
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
Lb 4 email
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 kavichek
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
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
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
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
Lb4 1f
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Datetime regex
Python
Matches dates in the following format: %Y/%m/%dT%H:%M:%S This is 24h format (00-23h) and no leap seconds.
Submitted by
anonymous
-
7 years ago
0
Datetime regex
Python
Matches dates in the following format: %Y/%m/%dT%H:%M:%S This is 24h format (00-23h) and no leap seconds.
Submitted by
anonymous
-
7 years ago
0
C# class name in file
PCRE (PHP <7.3)
no description available
Submitted by
flexford
-
7 years ago
0
Lb4 1d
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Img link to div
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
550
551
552
553
554
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?ix)
^
(?=
(?:
[^
\.
]
|
\.
(?!
\.
)
){0,254}
$
)
(?!
(?:
^
|
.
*
[
\.
@
]
)
(?=
[^
a
-
z0
-
9
]
+
[
\.
@
]
)
)
(?=
(?=
\w
)
)
(?=
.
*
[
a
-
z0
-
9
]
.
*
@
)
(?=
.
{0,64}
@
)
[
\w
\-\.
]
+
(?<!
\.
)
@
(?=
\w
)
[
\w
\-\.
]
+
(?<!
\W
)
\.
[
a
-
z
]
{2,4}
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago