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 3,080 community submitted regex patterns...
1
Check Windows file name
.NET 7.0 (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
2 years ago
0
Transform a date string into a timestamp
PCRE2 (PHP >=7.3)
Transform a date string like: Mon Nov 10 1957 12:34:56 UTC +08:00 into: 11/10/195 12:34:56
Submitted by
Steve Aughnbaugh
-
2 years ago
(Last modified 2 years ago)
1
BadDomainNamesDetected
PCRE2 (PHP >=7.3)
/hostname=(?P\".*\")/gm
Submitted by
KC.G
-
2 years 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
-
2 years 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
-
2 years ago
1
Get python function declaration
Rust
Gets the python function declarations
Submitted by
anonymous
-
2 years ago
1
date time validation
.NET 7.0 (C#)
Validation of the date of time, taking into account the high year in the format date.ToString("yyMMdd-hh_mm_ss").
Submitted by
Oleksii Serikov (alex@neochrom.biz)
-
2 years ago
1
shopee live video
PCRE2 (PHP >=7.3)
regex for shopee live video
Submitted by
lavi
-
2 years ago
1
shopee share link from mobile
PCRE2 (PHP >=7.3)
regex for shopee share link in mobile app
Submitted by
lavi
-
2 years ago
1
shopee video
PCRE2 (PHP >=7.3)
regex for share shopee video from mobile app
Submitted by
lavi
-
2 years ago
1
shopee url from desktop browser
PCRE2 (PHP >=7.3)
regex for shopee url from desktop browser
Submitted by
lavi
-
2 years ago
1
lazada product desktop
PCRE2 (PHP >=7.3)
lazada url product desktop
Submitted by
lavi
-
2 years ago
1
lazada campaign
PCRE2 (PHP >=7.3)
regex lazada campaign url
Submitted by
lavi
-
2 years ago
1
lazada share mobile url
PCRE2 (PHP >=7.3)
regex for lazada share link from mobile apps
Submitted by
lavi
-
2 years 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
-
2 years ago
(Last modified 2 years ago)
1
Phrase enclosed case insensitive
.NET 7.0 (C#)
Match everything enclosed, say, a phrase, with case insensitive.
Submitted by
kosalanuwan
-
2 years ago
1
VIN europe
PCRE2 (PHP >=7.3)
Validate a VIN (vehicule identification number) for europe
Submitted by
anonymous
-
2 years ago
1
NotEmpty
PCRE2 (PHP >=7.3)
https://stackoverflow.com/questions/7967075/regex-for-not-empty-and-not-whitespace
Submitted by
anonymous
-
2 years ago
1
Unknown slash on email regex
PCRE2 (PHP >=7.3)
Yes
Submitted by
kentrino
-
2 years 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
-
2 years ago
1
...
16
17
18
19
20
...
154
Community Library Entry
0
Regular Expression
Rust
r"
\b
(
0x
)?
\p{Hex_Digit}
+
\b
"
g
Open regex in editor
Description
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)