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
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
0
Find/replace with 1 group capture
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Search mysql field for word beginning with until all withspace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Initials matcher
PCRE (PHP <7.3)
Matches "J.M.D", but will not match "Jordy". Only matches initials
Submitted by
anonymous
-
7 years ago
0
Dutch postalcode validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 1a
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Milepost
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Lb4 date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
kube_log_regx3
PCRE (PHP <7.3)
This regx is totally cover whole of the log. Pars such a log: {"log":"I1219 13:32:01.389913 1 server.go:114] Version: v1.8.0\n","stream":"stderr","time":"2017-12-19T13:32:01.390360472Z"}
Submitted by
Alireza
-
7 years ago
0
kube_log_regx3
PCRE (PHP <7.3)
Pars such a log: {"log":"I1219 13:32:01.389913 1 server.go:114] Version: v1.8.0\n","stream":"stderr","time":"2017-12-19T13:32:01.390360472Z"}
Submitted by
Alireza
-
7 years ago
1
...
550
551
552
553
554
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
rgba
?
\(
(?:
(?:
(?:
[
0
-
9
]
{1,3}
){2}
[
0
-
9
]
{1,3}
|
(?:
[
0
-
9
]
{1,3}
%
){2}
[
0
-
9
]
{1,3}
%
)
(?:
\/
(?:
[
0
-
9
]
{1,3}
%
|
1
|
0
|
0
?
\.
[
0
-
9
]
+
)
)?
|
(?:
(?:
[
0
-
9
]
{1,3}
,
){2}
[
0
-
9
]
{1,3}
|
(?:
[
0
-
9
]
{1,3}
%,
){2}
[
0
-
9
]
{1,3}
%
)
(?:
,
(?:
[
0
-
9
]
{1,3}
%
|
1
|
0
|
0
?
\.
[
0
-
9
]
+
)
)?
)
\)
$
/
gm
Open regex in editor
Description
It validates the RGB expression doesn't break the CSS parser.
Submitted by
Martin
-
2 years ago
(Last modified 2 years ago)