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
Detect/Validate DMS coordinates
ECMAScript (JavaScript)
This regEx tries to detect geo coordinates in the dms (degree, minutes, seconds) format. Any help is appreciated
Submitted by
anonymous
-
3 years ago
0
SoundsExtract
Python
extract sounds
Submitted by
anonymous
-
3 years ago
0
iamge url
PCRE2 (PHP >=7.3)
all image url in in content
Submitted by
farhad rohani
-
3 years ago
0
Docker Image Repo URL
PCRE2 (PHP >=7.3)
This was written for the iTerm2 Smart Selection
Submitted by
anonymous
-
3 years ago
0
Match CLI argument to
Java 8
Matches argumetn to as: -t to -t= ...
Submitted by
rperez-torro
-
3 years ago
0
SharePoint On-Premise Validator
ECMAScript (JavaScript)
SharePoint On-Premise Validator
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
DTM Validation
PCRE2 (PHP >=7.3)
DTM Validation
Submitted by
Mike Cheel
-
3 years ago
0
aliasFormat
PCRE2 (PHP >=7.3)
Based on 'Allow only letters from A to Z, numbers from 0 to 9 , hyphen, dash, underscore and the period.'
Submitted by
Arturo Acuña
-
3 years ago
(Last modified 3 years ago)
0
android色值匹配
PCRE2 (PHP >=7.3)
android中色值匹配正则表达式 #ff123456 #ffffff #123 #1234
Submitted by
wangmeng
-
3 years ago
0
SMB share parsing
PCRE2 (PHP >=7.3)
A regex for parsing SMB shares
Submitted by
Drav Sloan
-
3 years ago
0
Python string regex with escaped characters
Python
string regex but you can escape characters like \", for python only
Submitted by
Fxomt
-
3 years ago
(Last modified 3 years ago)
0
Informational Query Regex
PCRE2 (PHP >=7.3)
Show queries that defines user intent for informational queries
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Navigational Query Regex
PCRE2 (PHP >=7.3)
Show queries that define user intent based on navigation
Submitted by
anonymous
-
3 years ago
0
Commercial Query Regex
PCRE2 (PHP >=7.3)
Show queries that define different user intent based on commercial queries.
Submitted by
anonymous
-
3 years ago
0
Transactional
PCRE2 (PHP >=7.3)
View queries based on intent for transactional queries
Submitted by
anonymous
-
3 years ago
0
Check for content injections
PCRE2 (PHP >=7.3)
Check to see if site has been compromised with injected content
Submitted by
anonymous
-
3 years ago
0
Check WP Admin URLs
PCRE2 (PHP >=7.3)
Check WP admin pages that are indexed
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Search Queries that begin with a particular keyword
PCRE2 (PHP >=7.3)
Find search queries that begin with a specific keyword/keywords
Submitted by
anonymous
-
3 years ago
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
1
...
795
796
797
798
799
...
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