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...
0
Find queries that end with
PCRE2 (PHP >=7.3)
Find Search Queries that ends with a particular keyword or keywords
Submitted by
anonymous
-
3 years ago
0
finding video names
ECMAScript (JavaScript)
Should find any video names
Submitted by
anonymous
-
3 years ago
0
Extract registration and model
ECMAScript (JavaScript)
Capture registration and aircraft model
Submitted by
Federico Villa
-
3 years ago
(Last modified 3 years ago)
0
Validate email
PCRE2 (PHP >=7.3)
Regex for email validation
Submitted by
anonymous
-
3 years ago
0
YouTube vid length
ECMAScript (JavaScript)
as found in: https://youtube.com/watch?v=${videoID}&persist_app=1&app=m to search for video time in minutes & seconds
Submitted by
tomByrer
-
3 years ago
(Last modified 3 years ago)
0
Currency Style (py.checkio.org)
Python
a mission on py.checkio.org: Currency Style
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Parse ISO date with named group for Python
Python
Parses ISO date like: 2021-01-19T15:21:32.59+02:00 and returns these named groups: fulldate (full date and time) date (2021-01-19)...
Submitted by
Fabio Rotondo (fsoft)
-
3 years ago
0
Nom avant domaine
PCRE2 (PHP >=7.3)
sdfsdfsdfsdf
Submitted by
sdfsfsdfsdf
-
3 years ago
0
HTML TAG Match
PCRE2 (PHP >=7.3)
Match a html tag.
Submitted by
Fernando Gaston Olivera Alaniz
-
3 years ago
0
quote
PCRE2 (PHP >=7.3)
quote text
Submitted by
anonymous
-
3 years ago
0
Danish CPR number validation
PCRE (PHP <7.3)
CPR number is presented with or without a dash
Submitted by
anonymous
-
3 years ago
0
java-test1
Java 8
java test string
Submitted by
anonymous
-
3 years ago
0
Find two matching group
Python
Find two matching groups
Submitted by
anonymous
-
3 years ago
0
Hitech RTOZONE
Java 8
Checks the registration number's validity
Submitted by
Sid
-
3 years ago
0
提取src
PCRE2 (PHP >=7.3)
提取src
Submitted by
anonymous
-
3 years ago
0
Yandex music track regex
Python
Regex for yandex music track
Submitted by
anonymous
-
3 years ago
0
LinkedIn School Username
PCRE2 (PHP >=7.3)
x
Submitted by
anonymous
-
3 years ago
0
PCRE2 ipv6
PCRE2 (PHP >=7.3)
Some cases of ipv6 at string begin
Submitted by
anonymous
-
3 years ago
0
Database_Data_Type
PCRE2 (PHP >=7.3)
Database_Data_Type
Submitted by
anonymous
-
3 years ago
0
General regular expressions
PCRE2 (PHP >=7.3)
General
Submitted by
Stavros
-
3 years ago
1
...
793
794
795
796
797
...
900
Community Library Entry
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