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 14,940 community submitted regex patterns...
0
Email Parse Email with Colon (Email: )
Python
For getting the value after “Email: “ in a block of text
Submitted by
QuickRegEx
-
4 years ago
0
Email Parse Name with Colon (Name: )
Python
For getting the value after “Name: “ in a block of text
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_term (extract UTM Term from a URL String)
Python
Extract utm_term from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_content (extract UTM Content from a URL String)
Python
Extract utm_content from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_campaign (extract UTM Campaign from a URL String)
Python
Extract utm_campaign from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_medium (extract UTM Medium from a URL String)
Python
Extract utm_medium from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
URL utm_source (extract UTM Source from a URL String)
Python
Extract utm_source from a URL String
Submitted by
QuickRegEx
-
4 years ago
0
Date YYYY-MM-DD | YYYY/MM/DD | YYYY.MM.DD (ex. 2021-12-09) (leading zeros for month and day)
Python
For Dates formatted YYYY-MM-DD separated by Dot (.) Dash(-) or Slash(/) like (2021-04-08) with Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date YYYY-M-D | YYYY/M/D | YYYY.M.D (ex. 2021-9-2) (without leading zeros for month and day)
Python
For Dates formatted YYYY-M-D separated by Dot (.) Dash(-) or Slash(/) like (2021-9-2) without leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date DD-MM-YYYY | DD/MM/YYYY | DD.MM.YYYY (ex. 28-02-2021) (leading zeros for month and day)
Python
For Dates formatted DD-MM-YYYY separated by Dot (.) Dash(-) or Slash(/) like (28–02-2021) with leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date D-M-YYYY | D/M/YYYY | D.M.YYYY (ex. 28-02-2021) (without leading zeros for month and day)
Python
For Dates formatted D-M-YYYY separated by Dot (.) Dash(-) or Slash(/) like (28-2-2021) without leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date M-D-YYYY | M/D/YYYY | M.D.YYYY (ex. 9-2-2021) (without leading zeros for month and day)
Python
For Dates formatted M-D-YYYY separated by Dot (.) Dash(-) or Slash(/) like (9-2-2021) without leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
Date MM-DD-YYYY | MM/DD/YYYY | MM.DD.YYYY (ex. 09-02-2021) (leading zeros for month and day)
Python
For Dates formatted MM-DD-YYYY separated by Dot (.) Dash(-) or Slash(/) like (09-02-2021) with leading Zeros for single digit Month and Day.
Submitted by
QuickRegEx
-
4 years ago
0
匹配敏感词
Python
用"第一|质量|最"这些敏感词来寻找并匹配字符串
Submitted by
anonymous
-
4 years ago
0
Links in HTML
PCRE (PHP <7.3)
Example href="https://example.com"
Submitted by
anonymous
-
4 years ago
(Last modified 4 years ago)
0
JS Project Folder Name Match
Python
JS Project Folder Name Match
Submitted by
Yew Meng
-
4 years ago
2
Links in string
ECMAScript (JavaScript)
Match links (emails included) in string Replace it with HTML links
Submitted by
David Folch Agulles
-
4 years ago
(Last modified 3 years ago)
0
add interfaces to ef models
PCRE (PHP <7.3)
Use this to add interfaces to ef models using vs replace all with regex
Submitted by
anonymous
-
4 years ago
1
turkdevops
ECMAScript (JavaScript)
Türkiye Geliştirici Operasyonları
Submitted by
anonymous
-
4 years ago
1
re_ip
PCRE (PHP <7.3)
match IP:port in text
Submitted by
anonymous
-
4 years ago
1
...
82
83
84
85
86
...
747
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(?:
(?<Protocol>
https
?
)
:
\/\/
)?
(?:
(?<Subdomain>
[
\w
\.
]
+
)?
\.
)?
(?<Hostname>
\w
+
)
\.
(?<Domain>
\w
+
)
\:
?
(?<Port>
\d
+
)?
(?<Path>
\/
.
*
)?
/
g
Open regex in editor
Description
Validate (although, not recommended) URI scheme, and separate the URI syntax with multiple groups.
Submitted by
outrowed
-
4 years ago