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,300 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
domain url
PCRE (PHP <7.3)
asc
Submitted by
xiali
-
7 years ago
2016-07-13 21:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
g
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-07-13 21:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validate html end tags with single quotes
ECMAScript (JavaScript)
validate html tags should have end tags, closing single, double quotes
Submitted by
Remo
-
7 years ago
2016-07-13 19:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TV Show
Python
Regex for parsing tv torrent
Submitted by
naingenieu
-
7 years ago
2016-07-13 19:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IP Address
PCRE (PHP <7.3)
Has group match to match 2nd third and fourth octets preceded by "."
Submitted by
anonymous
-
7 years ago
2016-07-13 19:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
DCMS_MatchRegexWhiteSpaceMatcher
PCRE (PHP <7.3)
Matches
Submitted by
anonymous
-
7 years ago
2016-07-13 18:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
atomId
PCRE (PHP <7.3)
used for assignment elements in the study plan api
Submitted by
anonymous
-
7 years ago
2016-07-13 17:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Overlap Code
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-07-13 15:57
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Match directory path
PCRE (PHP <7.3)
match with or without prevailing/trailing slashes
Submitted by
@zakiaziz
-
7 years ago
2016-07-13 15:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
email general regex
PCRE (PHP <7.3)
to catch all valid emails
Submitted by
anonymous
-
7 years ago
2016-07-13 14:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
öjh
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-07-13 12:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Rec Stand and Hall
ECMAScript (JavaScript)
Extrat hall and stand numbers out of a mail subject.
Submitted by
kiro7shiro
-
7 years ago
2016-07-13 10:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get image urls from Google Speed test
PCRE (PHP <7.3)
Get image urls from Google Speed test
Submitted by
Ken
-
7 years ago
2016-07-13 10:35
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
new anchor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-07-13 07:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
parse apache access.log
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-07-12 14:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Number 2...999
PCRE (PHP <7.3)
Find a number with a value in the range of 2 through 999.
Submitted by
byronjones@outlook.com
-
7 years ago
2016-07-12 14:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
python-unicode-hashtags
Python
Because 're' module in python do not support \p{L} unicode class need to use simplistic regex with \w instead \p{L}. But such regexp also match digits like #123, #003 and so on. So it need to further filter out digit-only tags.
Submitted by
Stanislav Otovchits
-
7 years ago
2016-07-12 13:44
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Arabic and English
ECMAScript (JavaScript)
Matches Arabic and English and all other languages that does not use the special characters.
Submitted by
Kishore
-
7 years ago
2016-07-12 12:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find games titles in roms files
Python
Useful to find only the game title without the tags if you have thousands of files to sort For example : Walt Disney World Quest - Magical Racing Tour (E) (M3) C -> Match only the title
Submitted by
Alex
-
7 years ago
2016-07-12 12:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
GEN - Improved Air segment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-07-12 05:47
1
...
629
630
631
632
633
634
635
...
865
Full URL
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
(
http
|
https
)
(
\:\/\/
)
(
(
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,2000}
)
(
\.
)
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,2000}
)
(
\.
)
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,16}
)
)
|
(
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,2000}
)
(
\.
)
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,16}
)
)
)
(
(
(
[
\:\/
a
-
zA
-
Z
\
_
\-
%0
-
9
\.\?\=
]
{1,3000}
)
|
(
\/
)
|
(
)
)
)
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
timmyRS
-
7 years ago
2016-06-27 07:49