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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 4,680 community submitted regex patterns...
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
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
SMMRaja Mass Order
PCRE2 (PHP >=7.3)
Regex for easily mass-ordering from SMMRaja
Submitted by
anonymous
-
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
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
VIN europe
PCRE2 (PHP >=7.3)
Validate a VIN (vehicule identification number) for europe
Submitted by
anonymous
-
a year ago
1
NotEmpty
PCRE2 (PHP >=7.3)
https://stackoverflow.com/questions/7967075/regex-for-not-empty-and-not-whitespace
Submitted by
anonymous
-
a year ago
1
Unknown slash on email regex
PCRE2 (PHP >=7.3)
Yes
Submitted by
kentrino
-
a year ago
1
extract <*n or <n where n is a number
Golang
see https://stackoverflow.com/questions/76228402/regex-to-extract-n-where-n-is-digit
Submitted by
code_monk
-
a year ago
1
prod validation
PCRE2 (PHP >=7.3)
valid prod
Submitted by
CW
-
a year ago
(Last modified a year ago)
1
...
42
43
44
45
46
...
234
mac address validation
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
(
[
0
-
9A
-
Fa
-
f
]
{2}
[
:-
]
){5}
(
[
0
-
9A
-
Fa
-
f
]
{2}
)
)
|
(
(
[
0
-
9
]
{2,3}
[
:-
]
){5}
(
[
0
-
9
]
{2,3}
)
)
)
/
gm
Open regex in editor
Description
mac address validation in hex or decimal form
Submitted by
planetwatch.io
-
2 years ago