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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 17,700 community submitted regex patterns...
0
seo_bots
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
hypo-interagovany-formular
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
CHH-LP
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
query_string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Членские взносы
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
Match Nested Parentheses v1
PCRE (PHP <7.3)
This can match up to 10 nested parentheses.
Submitted by
anonymous
-
5 years ago
0
telegraf.conf
Python
no description available
Submitted by
anonymous
-
5 years ago
0
jekyll-preprocess
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
jekyl-process2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
jekyll-process3
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
xicuc
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
MikroTik firewall logs
Golang
Used with Azure Log Analytics
Submitted by
anonymous
-
5 years ago
0
https://regex101.com/r/edPG4P/1
Python
needs to be modified for use in python by this code example note use of {3 } and additional parenthesis around the import re nigeRegex = re.compile(r'((\d{3}-)?\d{3}-\d{4}(,)?){3}') nigeRegex.search('My numbers are 415-555-1234,555-4242,212-555-0000')
Submitted by
anonymous
-
5 years ago
0
https://regex101.com/r/edPG4P/1
Python
needs to be modified for use in python by this code example note use of {3 } and additional parenthesis around the import re nigeRegex = re.compile(r'((\d{3}-)?\d{3}-\d{4}(,)?){3}') nigeRegex.search('My numbers are 415-555-1234,555-4242,212-555-0000')
Submitted by
anonymous
-
5 years ago
0
tag urls
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Email if then else
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
RFC 3986 Valid URL
PCRE (PHP <7.3)
Taken from Regex DB
Submitted by
anonymous
-
5 years ago
0
SS# Regex v2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
UEN regex
PCRE (PHP <7.3)
Determines if a company's Unique Entity Number is local (Singapore) for ESG FN
Submitted by
anonymous
-
5 years ago
0
js autocomplete
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
565
566
567
568
569
...
885
youtube url match
11
Regular Expression
ECMAScript (JavaScript)
/
(?:
https
?
:
\/\/
)?
(?:
www
\.
)?
(?:
youtu
\.
be
\/
|
youtube
\.
com
\/
(?:
embed
\/
|
v
\/
|
playlist
\?
|
watch
\?
v=
|
watch
\?
.
+
(?:
&
|
&
)
;v=
)
)
(
[
a
-
zA
-
Z0
-
9
\-
_
]
{11}
)?
(?:
(?:
\?
|
&
|
&
)
index=
(
(?:
\d
){1,3}
)
)?
(?:
(?:
\?
|
&
|
&
)?
list=
(
[
a
-
zA
-
Z
\-
_0
-
9
]
{34}
)
)?
(?:
\S
+
)?
/
g
Open regex in editor
Description
extract video id, index, play list id from youtube url
Submitted by
anonymous
-
9 years ago