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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 2,080 community submitted regex patterns...
2
Lua Enhanced: +=
Python
Adds += to Lua.
Submitted by
anonymous
-
2 years ago
2
Python regular expression to detect any type of group link and private channel in Telegram
Python
You can use this regular expression to identify any type of Telegram link. It doesn't matter whether it is t.me or telegram.me. Links including "joinchat" are also accepted.
Submitted by
Telegram : T.me/TinyPY
-
9 months ago
(Last modified 9 months ago)
1
Regular expression to remove all puncutation
Python
Removes all of the puncutation present inlcuding \n,\t,\r
Submitted by
Abhinav Gupta
-
10 years ago
2
postgesql
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Palabras en mayúscula que no están después de un punto
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Parasite subtitles
Python
no description available
Submitted by
Andrey Spiridonov
-
10 years ago
2
python regex
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Capture 5 words either side of a match string
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Match 5 forward slashes
Python
Match 5 forward slashes
Submitted by
anonymous
-
9 years ago
2
IPv4 Validator
Python
no description available
Submitted by
dannyo
-
9 years ago
2
SED
Python
no description available
Submitted by
anonymous
-
8 years ago
2
match those lines whose first n chars contains 1+ non numeric
Python
1100582367|SDFDSFDSFDSFDSFDF GBC213WREW|RWEFSDFSDF 1100582377|DSFDSFDSFDSF 2NDG.S.D BIKADSFDSFDSFNO.421 1100582387|SDFSDFSDFDSF
Submitted by
sid
-
8 years ago
2
Find any digits in string
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Parse a HTML URL
Python
Break a URL into parts: protocol url path get parameters hash
Submitted by
Dale O'Brien
-
10 years ago
1
dd/mm/yyyy validation regexp
Python
no description available
Submitted by
uknnown
-
9 years ago
1
REGEX
Python
no description available
Submitted by
anonymous
-
9 years ago
1
IPv4 extraction
Python
no description available
Submitted by
Jacob
-
10 years ago
1
quoted string in VB.net format
Python
Get all strings in vb.net format (even nested quotes"
Submitted by
Alan Moore (http://stackoverflow.com/questions/2148587/finding-quoted-strings-with-escaped-quotes-in-c-sharp-using-a-regular-expression) modified by j
-
10 years ago
1
States
Python
States (US) 2 char format, matches: Ga or GA
Submitted by
miqui
-
9 years ago
0
Get any word before specific string
Python
no description available
Submitted by
anonymous
-
9 years ago
1
2
3
4
5
6
...
104
Valid RGB color value
1
Regular Expression
ECMAScript (JavaScript)
/
^
rgba
?
\(
(?:
\s
+
)?
(?<r>
\d
+
(?<unit>
%
?
)
)
(?:
\s
+
)?
(?<separator>
[
\s
|,
]
)
(?:
\s
+
)?
(?<g>
\d
+
\k<unit>
)
(?:
\s
+
)?
\k<separator>
(?:
\s
+
)?
(?<b>
\d
+
\k<unit>
)
(?:
\s
+
)?
(?:
(?<=
(?:
,
.
+
)
)
(?:
,
(?:
\s
+
)?
(?<a>
(?:
\d
+
)?
(?:
\.
?
\d
+
)
)
)?
(?:
\s
+
)?
)?
\)
$
/
gm
Open regex in editor
Description
Pattern for matching actually valid RGB values.
validate separator (mixing spaces and commas between values is not valid)
validate if comma is used as separator if alpha channel is set
validate units (mixing percentage with integers is not valid)
extract
r
,
g
,
b
,
a
,
separator
and
unit
with named groups
Submitted by
BorisTB
-
3 years ago
(Last modified 3 years ago)