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
Community Patterns
Search among 5,480 community submitted regex patterns...
0
test
ECMAScript (JavaScript)
o
Submitted by
k
-
2 years ago
0
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
infinitivo verbos idênticos
ECMAScript (JavaScript)
infinitivo
Submitted by
anonymous
-
2 years ago
0
TRye bracktres
Python
gfhtrgh
Submitted by
anonymous
-
2 years ago
0
telephone_finder
Python
[-+ ]?[178]?[ ]?\d[ ]?\d[ ]?\d[ ]?\d[ ]?\d[ ]?\d[ ]?
Submitted by
anonymous
-
2 years ago
0
Echo
ECMAScript (JavaScript)
Usage of named capture group.
Submitted by
Abitwhy
-
2 years ago
(Last modified 2 years ago)
0
Bandwidth value validation
Python
Bandwidth value validation: 1-1023K 1-1023M 1-40G
Submitted by
Damien Stuart
-
2 years ago
0
Email validation regex
Python
This email validation regex works perfectly (99.99%) for validating email address entries. The regex does not match email addresses with with the following characteristics: Addresses that begin/end with a special character Addresses with consecutive repeated special characters ...
Submitted by
Bright Owusu
-
2 years ago
(Last modified 2 years ago)
0
regexGetAccount
ECMAScript (JavaScript)
(Element CI: )\d{4}
Submitted by
raphael
-
2 years ago
0
num pattern
ECMAScript (JavaScript)
a
Submitted by
Ibraheem
-
2 years ago
0
a
ECMAScript (JavaScript)
不得輸入0、空值、符號、負數(僅限溫度)、小數點(僅支援後2位)
Submitted by
anonymous
-
2 years ago
0
IBAN SEPA
ECMAScript (JavaScript)
This regex check for valid IBANS with SEPA only. Country definition https://www.iban.de/iban-laenderliste.html
Submitted by
Florian Bischof
-
2 years ago
0
Out of
Python
Out of
Submitted by
anonymous
-
2 years ago
0
Contas regex
Python
A simple regex for contas bancárias
Submitted by
anonymous
-
2 years ago
0
singleTime ztm
Python
ss
Submitted by
pochwix2
-
2 years ago
0
mydata-collector
ECMAScript (JavaScript)
it is for regex
Submitted by
anonymous
-
2 years ago
0
Code Block Splitting
Python
Useful for getting codeblock from a text
Submitted by
anonymous
-
2 years ago
0
UUID (compact regular expression)
ECMAScript (JavaScript)
Matches a UUID using a compact regular expression.
Submitted by
Matthew Gibbons (@accuser)
-
2 years ago
0
Author first names to initials
ECMAScript (JavaScript)
Convert citation authors list from "Last_name, First_name" to "Last_name, F."
Submitted by
Pierre Racine
-
2 years ago
0
Add missing point in author list initials
ECMAScript (JavaScript)
Add some point missing to initials in a citation author list
Submitted by
Pierre Racine
-
2 years ago
1
...
250
251
252
253
254
...
274
Youtube video URL or empty
1
Regular Expression
ECMAScript (JavaScript)
/
(?:
^$
|
^
(?:
https
?
:
)?
(?:
\/\/
)?
(?:
youtu
\.
be
\/
|
(?:
www
\.
|
m
\.
)?
youtube
\.
com
\/
(?:
watch
|
v
|
embed
)
(?:
\.
php
)?
(?:
\?
.
*
v=
|
\/
)
)
(
[
a
-
zA
-
Z0
-
9
\_\-
]
{7,15}
)
(?:
[
\?
&
]
[
a
-
zA
-
Z0
-
9
\_\-
]
+
=
[
a
-
zA
-
Z0
-
9
\_\-
]
+
)*
$
)
/
mg
Open regex in editor
Description
Matches correct youtube video urls and empty strings.
Submitted by
xeon927 on stackoverflow
-
3 years ago