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 5,920 community submitted regex patterns...
1
Extract email username from email address
ECMAScript (JavaScript)
This workspace contains the needed ECMAScript regex for use in Cloudflare Workers Email Routing.
Submitted by
~ajhalili2006
-
a year ago
1
Match typescript filenames excluding .d.ts files
ECMAScript (JavaScript)
Match typescript filenames excluding .d.ts files This RegExp matches, ts tsx...
Submitted by
@yumyum-web
-
a year ago
1
searchjsonmutikey
PCRE2 (PHP >=7.3)
jsonmultikey
Submitted by
anonymous
-
a year ago
1
Find passwords in logs
PCRE2 (PHP >=7.3)
Regex to find cleartext passwords in logs in various formats
Submitted by
anonymous
-
a year ago
1
Replace FOSUserBundle controller attributes to Symfony #[Route] attribute
PCRE2 (PHP >=7.3)
Substitute AbstractFOSRestController Routing attributes by Symfony Routing attribute \#[Route] move HTTP method to methods:[''] and use #[Route] attribute #[Rest\Get('/corbeilles')] #[Rest\Post('/corbeille/restore')] #[Rest\Delete(path: '/chapitres/{id}', requirements: ['id' => '\d+'])]...
Submitted by
anonymous
-
a year ago
1
Finnish SSN (2023 update)
ECMAScript (JavaScript)
Finnish SSN that supports the new intermediate characters that were added on 1.1.2023. Source for the new intermediate characters: https://dvv.fi/hetu-uudistus (in Finnish) https://dvv.fi/en/reform-of-personal-identity-code (in English)
Submitted by
mpeltola
-
a year ago
1
RTTU Pharsing
ECMAScript (JavaScript)
RegEx for RTTU Pharsing
Submitted by
CVIKL Dubravko
-
a year ago
1
Conventional Commits for commitcheck.com
PCRE2 (PHP >=7.3)
Conventional Commits is a specification for adding human and machine readable meaning to commit messages. CommitCheck is a GitHub app that ensures commit messages, PR titles and PR descriptions are consistent and contain required information. However, CommitCheck supports only ruby regular express...
Submitted by
https://github.com/CCXXXI
-
a year ago
1
BadDomainNamesDetected
PCRE2 (PHP >=7.3)
/hostname=(?P\".*\")/gm
Submitted by
KC.G
-
a year ago
1
I select (.*) and generate Print Statement for \"(.*?)\" with \"(.*?)\"?$
PCRE2 (PHP >=7.3)
I select (.) and generate Print Statement for \"(.?)\" with \"(.*?)\"?$
Submitted by
anonymous
-
a year ago
1
golang re2 negative lookahead
Golang
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex. This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by
misha
-
a year ago
1
phones
ECMAScript (JavaScript)
Разбирает список телефонов, разделенных ;
Submitted by
Alex
-
a year ago
1
shopee live video
PCRE2 (PHP >=7.3)
regex for shopee live video
Submitted by
lavi
-
a year ago
1
shopee share link from mobile
PCRE2 (PHP >=7.3)
regex for shopee share link in mobile app
Submitted by
lavi
-
a year ago
1
shopee video
PCRE2 (PHP >=7.3)
regex for share shopee video from mobile app
Submitted by
lavi
-
a year ago
1
shopee url from desktop browser
PCRE2 (PHP >=7.3)
regex for shopee url from desktop browser
Submitted by
lavi
-
a year ago
1
lazada product desktop
PCRE2 (PHP >=7.3)
lazada url product desktop
Submitted by
lavi
-
a year ago
1
lazada campaign
PCRE2 (PHP >=7.3)
regex lazada campaign url
Submitted by
lavi
-
a year ago
1
lazada share mobile url
PCRE2 (PHP >=7.3)
regex for lazada share link from mobile apps
Submitted by
lavi
-
a year ago
1
Authelia regex path rules
Golang
Testing Authelia subdomain / path rules. You can read more at the Authelia Docs By default, this regex101 page is shown a test for a generic API path domain: "some-sub.drpranavmishra.com" resources:...
Submitted by
Pranav Mishra
-
a year ago
(Last modified a year ago)
1
...
75
76
77
78
79
...
296
JS Parse rgb or rgba CSS string
0
Regular Expression
PCRE2 (PHP >=7.3)
/
rgba
?
\(
\s
*
(
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
1
\d
{1,2}
|
\d\d
?
)
\s
*
,
\s
*
(
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
1
\d
{1,2}
|
\d\d
?
)
\s
*
,
\s
*
(
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
1
\d
{1,2}
|
\d\d
?
)
\s
*
,
?
\s
*
(
[
01
\.
]
\.
?
\d
?
)?
\s
*
\)
/
gm
Open regex in editor
Description
This will parse and give you the values of an RGB or RGBA CSS style.
Submitted by
Beau Beauchamp, WebTIGERS
-
3 years ago