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 11,660 community submitted regex patterns...
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
YouTube ID Capture
PCRE (PHP <7.3)
Works on "*youtube.com" urls, as well as "youtu.be" urls
Submitted by
Lucanos
-
8 years ago
2015-09-15 18:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
conditions regex
PCRE (PHP <7.3)
no description available
Submitted by
suat erenler
-
8 years ago
2015-09-15 15:55
0
23 upvotes, 23 downvotes (score 36.1%) (You must be signed in to vote)
utf-8 language
PCRE (PHP <7.3)
this regex is support for all languages
Submitted by
Jigar Dhaduk
-
8 years ago
2015-09-15 13:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
slug in formula
PCRE (PHP <7.3)
Get all slug in a math formula not between {}
Submitted by
M.BIGOT
-
8 years ago
2015-09-15 12:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSS colour hex matcher
PCRE (PHP <7.3)
Matches instances of colour hex codes with either 3 or 6 digits.
Submitted by
Tom Higginson
-
8 years ago
2015-09-15 09:47
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
12 Hour Time Pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-15 06:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ICD9 CodeRange
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-14 21:20
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Apache2 Access Log parsing
PCRE (PHP <7.3)
This breaks down an Apache2 access log into 9 parts. I use this for analyzing content in my webserver logs.
Submitted by
Kevin Loverde
-
8 years ago
2015-09-14 18:22
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Validar registro de pregunta
PCRE (PHP <7.3)
Valida las posibles respuestas al insertar una pregunta, esto se realiza ya que las respuestas se ordenan aleatoriamente, por eso no se permite respuestas del tipo "A y B son correctas"
Submitted by
ZeusAFK
-
8 years ago
2015-09-14 18:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
8 years ago
2015-09-14 15:16
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Replace 07 with international UK
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-14 12:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
$enDayNames
PCRE (PHP <7.3)
array(1 => 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday');
Submitted by
anonymous
-
8 years ago
2015-09-14 07:46
7
8 upvotes, 1 downvotes (score 56.5%) (You must be signed in to vote)
Remove Widows (PHP)
PCRE (PHP <7.3)
Adds a non-breaking space between the last two words of sentences
Submitted by
herkulano
-
8 years ago
2015-09-13 13:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Pound checker
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-13 12:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL for victoria
PCRE (PHP <7.3)
no description available
Submitted by
Morten Mehus
-
8 years ago
2015-09-12 14:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Link splitter
PCRE (PHP <7.3)
Get every part of a link
Submitted by
Ricardo Boss (MCMainiac)
-
8 years ago
2015-09-12 12:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Я.Диск ссылки
PCRE (PHP <7.3)
no description available
Submitted by
pafnuty
-
8 years ago
2015-09-12 07:47
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
update match
PCRE (PHP <7.3)
no description available
Submitted by
ozarzu
-
8 years ago
2015-09-11 21:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
(((?:\<|\[)a href=\'|\")?((?:http:\/\/)?((?:www\.)?(?:[\w\d-_]*?\.)+(?
PCRE (PHP <7.3)
no description available
Submitted by
irisha_sutnuk
-
8 years ago
2015-09-11 15:46
4
6 upvotes, 2 downvotes (score 40.9%) (You must be signed in to vote)
tgs data delivery .zip ID
PCRE (PHP <7.3)
Pull zip download ID from default links. Works with datadelivery and datadelivery1
Submitted by
TRL
-
8 years ago
2015-09-11 15:16
1
...
516
517
518
519
520
521
522
...
583
PHPunit AssertEquals from AssertTrue
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
assertTrue
)
(
.
+
?
)
(
==
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
Chandler Swift
-
8 years ago
2015-08-21 16:40