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
Post last /
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Pre last /
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
homepage_finder
Python
this regexp will extract the homepage from an url; it will factor in the "www" if there is one, and it will accept a slash at the end
Submitted by
anonymous
-
7 years ago
0
iOS Bundle ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Regex for C-style assignments
Golang
no description available
Submitted by
cemares
-
7 years ago
0
regex to find all types of youtube occurences in html
PCRE (PHP <7.3)
this will find any type of youtube embed or link to a video so you can replace with your own IFRAME $youtube_replacement = '';
Submitted by
anonymous
-
7 years ago
0
extract most parts of possible <IMG> tag attributes (Oren Wassersprung)
PCRE (PHP <7.3)
this reg will extract: "content" of SRC "content" of ALT complete width="???" "content" of style attr. ...
Submitted by
anonymous
-
7 years ago
0
Registry of Starfleet vessels
PCRE (PHP <7.3)
Matches registry type and number of Starfleet vessels
Submitted by
Luca Mauri
-
7 years ago
0
multiple in between regex
PCRE (PHP <7.3)
this helps to extract the start and end tag but even if in between the start appears again.. it just captures the first start and the next occurence of end tag. only thing missing is i want to include the end of the line of the end tag
Submitted by
anonymous
-
7 years ago
0
Brackets
PCRE (PHP <7.3)
Task from check.io. You are given an expression with numbers, brackets and operators. For this task only the brackets matter. Brackets come in three flavors: "{}" "()" or "[]". Brackets are used to determine scope or to restrict some expression. If a bracket is open, then it must be closed with a c...
Submitted by
anonymous
-
7 years ago
0
Operator with Number
PCRE (PHP <7.3)
no description available
Submitted by
Kgunner
-
7 years ago
0
Regex to match positive or negative number or empty string, but not '-' alone
ECMAScript (JavaScript)
no description available
Submitted by
myth
-
7 years ago
0
pde-member
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Alternative to "Current Error" Lookbehind
PCRE (PHP <7.3)
Regex original: (?<!Current\s)Error: Porém expect4j utiliza classes de regex do Apache Oro, que não possuem suporte para lookbehind.
Submitted by
Patrick Bard
-
7 years ago
0
RegexA-Z
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
SRP
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Java Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
chinese phone number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
column aliasing
PCRE (PHP <7.3)
no description available
Submitted by
goran biljetina
-
7 years ago
1
Require string of length Ignoring HTML
PCRE (PHP <7.3)
checks for a continuous string of characters (in this case 7) , but ignores HTML tags we use it in a required feild validator that has auto generated formatting elements
Submitted by
Doom87er
-
7 years ago
1
...
548
549
550
551
552
...
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)