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 3,000 community submitted regex patterns...
1
SMMRaja Mass Order
PCRE2 (PHP >=7.3)
Regex for easily mass-ordering from SMMRaja
Submitted by
anonymous
-
a year ago
1
Check Windows file name
.NET 7.0 (C#)
Verifying Windows file names (without suffix)
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
Türkiye Araç Plaka Regexi - Türkiye Car Plate Regex
Java 8
Gist link for Java : https://gist.github.com/Gencturk-m/9962ce1e1dcf4dd9307062e34b023183 Aşağıdaki yapıdaki plakaları kabul eder: "01-81 X 9999", "01-81 X 99999"...
Submitted by
Melih Gençtürk - https://github.com/gencturk-m
-
a year 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)
-
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
Phrase enclosed case insensitive
.NET 7.0 (C#)
Match everything enclosed, say, a phrase, with case insensitive.
Submitted by
kosalanuwan
-
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
prod validation
PCRE2 (PHP >=7.3)
valid prod
Submitted by
CW
-
a year ago
(Last modified a year ago)
1
Discord GuildEmoji
PCRE2 (PHP >=7.3)
Matches a custom emoji from discord. Group 1: Optional, "a" means animated, a gif. Group 2: Emoji Name. Group 3: Emoji Id;
Submitted by
revelcw
-
a year ago
1
wip; 匹配malloc申请的内容和使用的不一致
PCRE2 (PHP >=7.3)
匹配malloc申请的内容和使用的不一致
Submitted by
zyf
-
a year ago
1
...
15
16
17
18
19
...
150
Extract Protocol, URL, URL Path, get parameters and hash from URI
8
Regular Expression
Python
r"
^
(
http
[
s
]
?
:
)+
\/\/
(
[^
:
\/
\s
]
+
)
(
[^
#?
\s
]
+
)
\?
(
[^
#
]
*
)?
(
#
.
*
)?
$
"
i
Open regex in editor
Description
This is simplified from my last submission.
Submitted by
Dale O'Brien
-
10 years ago