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 18,000 community submitted regex patterns...
1
cc-generate-bruteforce-attacks--parse-wp-login.php
PCRE (PHP <7.3)
Parse access logs for bruteforce attacks on Wordpress' wp-login page
Submitted by
Christopher James Curtin
-
9 years ago
0
Replace 07 with international UK
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Mod4 Regex
Python
Mod4 Regex Sapzip
Submitted by
re4lfl0w
-
9 years ago
1
$enDayNames
PCRE (PHP <7.3)
array(1 => 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday');
Submitted by
anonymous
-
9 years ago
1
neo4j install folder
Python
Neo4j non-relational DB install folder extracting
Submitted by
trianglesis
-
9 years ago
1
formais
Python
1b
Submitted by
ziul
-
9 years ago
1
formais
Python
exercicios formais
Submitted by
luizurias
-
9 years ago
3
Arrow function to Normal function
ECMAScript (JavaScript)
Convert Arrow Function to Normal Function
Submitted by
Abhisek Pattnaik
-
9 years ago
7
Remove Widows (PHP)
PCRE (PHP <7.3)
Adds a non-breaking space between the last two words of sentences
Submitted by
herkulano
-
9 years ago
1
Pound checker
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URL for victoria
PCRE (PHP <7.3)
no description available
Submitted by
Morten Mehus
-
9 years ago
1
Link splitter
PCRE (PHP <7.3)
Get every part of a link
Submitted by
Ricardo Boss (MCMainiac)
-
9 years ago
1
Я.Диск ссылки
PCRE (PHP <7.3)
no description available
Submitted by
pafnuty
-
9 years ago
2
update match
PCRE (PHP <7.3)
no description available
Submitted by
ozarzu
-
9 years ago
0
Password Any Character len: 8-63
ECMAScript (JavaScript)
Test for Password using any character. Length of password can be from 8 - 63 characters
Submitted by
Jerry Orta
-
9 years ago
0
(((?:\<|\[)a href=\'|\")?((?:http:\/\/)?((?:www\.)?(?:[\w\d-_]*?\.)+(?
PCRE (PHP <7.3)
no description available
Submitted by
irisha_sutnuk
-
9 years ago
4
tgs data delivery .zip ID
PCRE (PHP <7.3)
Pull zip download ID from default links. Works with datadelivery and datadelivery1
Submitted by
TRL
-
9 years ago
1
tgs data delivery1
PCRE (PHP <7.3)
strips data delivery link 1 from TGS download link.
Submitted by
TRL
-
9 years ago
1
TGS DATA Delivery
PCRE (PHP <7.3)
Find the default link excluding zip file ID
Submitted by
TRL
-
9 years ago
1
Aux Copy Detection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
803
804
805
806
807
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
http
[
s
]
?
)
:
(?=
\/
)
\/\/
(?:
(?:
www
[
.
]
)?
youtube
[
.
]
(?:
[^
@
\/
.?#:
]
+
)
)
\/
(?:
redirect
)
(?:
\?
(?:
(?=
event=
(?:
[^
&#?
\/
@:
]
+
)
)
event=
[^
&#?
\/
@:
]
+
)
(?:
&
(?=
redir_token=
(?:
[
a
-
zA
-
z0
-
9
]
{206}
)
)
redir_token=
[
a
-
zA
-
z0
-
9
]
{206}
)?
(?:
[
&
]
[^
@#
]
+
)?
(?=
&q
)
&q=
(
[^
&#?
\/
@:
]
+
)
(?=
&
)
&
(?:
(?:
[^
&#?
\/
@:
]
*
)+
)
)
$
(?<!
[
#
]
)
(?:
[^
#
]
*
)
/
g
Open regex in editor
Description
Separate the youtube tracking redirect link to its main companions
Version 1
Python
PHP
Version 2
JavaScript
Java
PHP
C#
maybe more
Version 3
PHP
Java
C#
Possibly Javascript (with filtering)
Version 4 : Only bracket in return value
PHP
python
Golang
Java
C#
Rust
(can work but without support for php)
first inspiration taken from
here
Submitted by
TS
-
a year ago
(Last modified a year ago)