Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,460 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
С НДС Newline
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-09-16 15:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Chess
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-09-21 12:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UNC path
Python
\\[[domain;]username[:password]@]hostname\share[\/]path
Submitted by
anonymous
-
5 years ago
2018-09-22 20:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SMB path
Python
smb://[[domain;]username[:password]@]hostname[:]/share[\/]path
Submitted by
anonymous
-
5 years ago
2018-09-22 20:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Local path
Python
C:/path \\?\C:[\/]path /path ~/path
Submitted by
anonymous
-
5 years ago
2018-09-22 22:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
oqun.jjbkk.cn
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-09-26 06:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parsing file metadata
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-09-28 17:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
fix secacc in diva
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-10-09 09:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Domain out of URL
Golang
Regular expression ^(?:https?:)?(?:\/\/)?(?:+@)?(?:www\.)?(+) used below extracts domain with subdomains out of a full url. It skips protocol (ex: https:), "//", "@", www subdomain and then captures everything (ex: domain) before ":" or "/" or end of line.
Submitted by
anonymous
-
5 years ago
2018-10-15 13:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Go Gmail Date Reply Line
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-10-16 18:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Reply Line
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-10-16 18:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse Excel Autopath case numbers
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-10-18 13:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
smartax
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-10-20 15:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matches the prefix at the beginning of string or after a slash
Python
Regex for extracting display_id from the URL
Submitted by
anonymous
-
5 years ago
2018-10-24 13:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extrair data por extenso
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-10-24 23:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Code du travail articles
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-10-29 17:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Spaces around punctuation
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-10-30 13:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
csdetail
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-11-02 13:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Finding imports
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-11-03 08:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Finding imports
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-11-03 15:20
1
...
75
76
77
78
79
80
81
...
123
Orchestria
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Python
r"
"
(?<=
/countsfrom=
)
(
.
*
)
(?=
&instrument=1&levels=1&levels=2&levels=3&to=
)
(
.
*
)
"
"
s
Open regex in editor
Description
Loading markdown...
Submitted by
Martin Lawrence
-
7 years ago
2016-07-20 14:55