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 13,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex npvr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-05 20:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex npvr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-05 21:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
proximity search
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-12-06 01:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Advent of Code 2018 - Day 4 - Guard ID
PCRE (PHP <7.3)
This regex is created to match Guard IDs
Submitted by
anonymous
-
5 years ago
2018-12-06 06:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sklad
PCRE (PHP <7.3)
/\..{0,}? /
Submitted by
anonymous
-
5 years ago
2018-12-06 08:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
file url regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-06 18:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Last Hop v6
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-06 19:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Last Hop v6
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-10 18:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match purified dust
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-07 11:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match simple dusts except for (bauxite, iridium)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-07 11:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Chess game PGN to human friendly
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-07 18:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex Poesia
PCRE (PHP <7.3)
Encontra as rimas buscadas na poesia de Camões
Submitted by
anonymous
-
5 years ago
2018-12-07 21:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex de Data
PCRE (PHP <7.3)
Regex que verifica se uma data é válida segundo as regras do calendário gregoriano
Submitted by
anonymous
-
5 years ago
2018-12-07 22:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SWGOH calendar extract from ocr text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-08 03:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
extract names from SKYPE /showmembers result
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-08 03:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match actual IPv4 addresses and 3306 port
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-12-09 09:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CDL Lab 3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-10 02:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CDL Lab 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-10 02:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex CPF
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-10 13:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Universal gds parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2018-12-10 14:27
1
...
543
544
545
546
547
548
549
...
677
URL - use string between last 2 / to form new URL
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
<a
href="https:
.
*
(
\/
)
(
[^
\/
]
+
)
(?:
(?=
\/
"
)
)
\/
/
gim
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-11-01 20:20