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 17,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
release stuff
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-03 14:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
tld
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-03 21:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK Postcode
PCRE (PHP <7.3)
Matches the following UK post code formats: A9 9AA A9A 9AA A99 9AA AA9 9AA AA9A 9AA...
Submitted by
anonymous
-
5 years ago
2019-04-05 13:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK Postal address
PCRE (PHP <7.3)
Matches single line and mutliline UK postal address as long as they start with a number. For example: 1 Test Street Test Town AA1 1AA 32 Island Road, Placington, AA2 2AA
Submitted by
anonymous
-
5 years ago
2019-04-05 14:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
hello
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-05 21:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AutolikesIG PHP
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-06 08:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Yes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-06 12:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Yes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-06 12:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
No
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-06 12:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
No
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-06 13:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Yes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-06 13:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Russian endings grabber v3.
PCRE (PHP <7.3)
Removed capital leters. It now works a bit better/ Some russian words have "-" in them, made sure that it does not break grabbed endings
Submitted by
anonymous
-
4 years ago
2020-02-04 07:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for Nginx Ingress
PCRE (PHP <7.3)
Request: get a specific segment of URL related to Language and add it as a query string, plus stripping of first 2 segments of the incoming URL: Group 1: first part of the URL to be maintained Group 2: language (which becomes QS) Group 3: second part of the URL to be maintained...
Submitted by
anonymous
-
5 years ago
2019-04-08 10:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Yes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-08 10:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for Nginx Ingress (Preview API)
PCRE (PHP <7.3)
Request: get a specific segment of URL related to Language and add it as a query string, plus stripping of first 2 segments of the incoming URL: Group 1: language (which becomes QS) Group 2: second part of the URL to be maintained Group 3: Question mark "?" which needs to be removed...
Submitted by
anonymous
-
5 years ago
2019-04-08 11:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for Nginx Ingress (Preview API)
PCRE (PHP <7.3)
Request: get a specific segment of URL related to Language and add it as a query string, plus stripping of first 2 segments of the incoming URL: Group 1: language (which becomes QS) Group 2: second part of the URL to be maintained Group 3: empty...
Submitted by
anonymous
-
5 years ago
2019-04-08 13:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Separate Studio/Movie Title Info From Filename for Plex
Python
Separate Studio/Movie Title Info From Filename for Plex This regex is ultimately used by a Plex Media Server Agent to parse various information from a filename when Plex is scanning a media directory. The regex uses named groups studio and clip_name to store the information that is parses so that ...
Submitted by
anonymous
-
5 years ago
2019-04-09 04:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
For Removing 2 or More Dots
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-09 09:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SPF syntax checker
PCRE (PHP <7.3)
This regex is meant to check the SPF records of domains.
Submitted by
anonymous
-
5 years ago
2019-04-09 11:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remind Msg
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-11 13:55
1
...
739
740
741
742
743
744
745
...
871
BNF for specific URL schemes (httpurl) from rfc1738
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Regular Expression
Python
r"
^
(
(
http:
\/\/
)?
(
(
((
[
\w\d
]
|
[
\w\d
]
[
\w\d
\-
]
*
[
\w\d
]
)
\.
)*
((
\w
|
\w
[
\w\d
\-
]
*
[
\w\d
]
))*
(
\:
\d
+
)+
?
)
(
\/
[
\w
\;\:\@\&\=
]
*
[
\/
[
\w
\;\:\@\&\=
]
*
]
*
(
\?
[
\w
\;\:\@\&\=
]
*
)?
)
)
)
$
"
m
Open regex in editor
Description
Loading markdown...
Submitted by
Migueh
-
8 years ago
2015-10-15 11:32