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 9,420 community submitted regex patterns...
0
regex_1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
HK Mobile Regex
PCRE (PHP <7.3)
For number with 8 digits: Only allow number start with 4-9. http://www.cirrhosismedication.com http://happinesspig.com http://premiumpig.com http://pmsecret.com...
Submitted by
anonymous
-
6 years ago
0
SpecialsChars ending
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
parsing ini files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
nondigits - digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Multi group regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Commit Message - Header Pattern (Optimized)
PCRE (PHP <7.3)
git-stuff commit message header pattern.
Submitted by
jeffryangtoni24
-
6 years ago
0
Basic Email Validation
PCRE (PHP <7.3)
Basic email validation supporting IDN emails (töm@outlook.com), quoted characters (t\ om@outlook.com). Does not validate emails using quoted characters that are not escaped, so this exception should be handled by your mail service.
Submitted by
TJ Walker
-
6 years ago
0
Check if contains No Chinese
PCRE (PHP <7.3)
Check if string contains No Chinese characters: http://www.cirrhosismedication.com http://www.pmsecret.com http://premiumpig.com http://happinesspig.com...
Submitted by
anonymous
-
6 years ago
0
BAD: Last-Name-Pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
larry - first try removing all closing tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
larry - second send, fixes problem
PCRE (PHP <7.3)
ignores the closing tags and only fixes the opening tags
Submitted by
anonymous
-
6 years ago
0
Matches all words + hyphenated-words, words with full-stops, ignoring commas.
PCRE (PHP <7.3)
This will match all words. Including: Hyphenated words. Words ending in periods/full-stops. Number sequences....
Submitted by
anonymous
-
6 years ago
0
Omni word catcher.
PCRE (PHP <7.3)
Matches any word in any language. e.g. Montréal Hyphenated words count as one word. e.g. dinner-time Matches words with apostrophes . e.g. L'amour
Submitted by
anonymous
-
6 years ago
0
SSMS Parameter Extraction
PCRE (PHP <7.3)
no description available
Submitted by
andrea-dellepiane
-
6 years ago
0
lfd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
BAD: Mail-Validierung
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
p2const
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Google Tag Manager match non built-in events
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
FileName and Path name
PCRE (PHP <7.3)
Checks for existence of particular file name extension or path structure
Submitted by
Gundlupet Sreenidhi
-
6 years ago
1
...
112
113
114
115
116
...
471
Community Library Entry
1
Regular Expression
Golang
`
^
(?:
https
?
:
\/\/
)?
(?:
(?:
www
\.
)?
youtube
\.
com
\/
(?:
(?:
v
\/
)
|
(?:
embed
\/
|
watch
(?:
\/
|
\?
)
){1,2}
(?:
.
*
v=
)?
|
.
*
v=
)?
|
(?:
www
\.
)?
youtu
\.
be
\/
)
(
[
A
-
Za
-
z0
-
9_
\-
]
+
)
&
?
.
*
$
`
gmi
Open regex in editor
Description
no description available
Submitted by
RyuaNerin
-
9 years ago
(Last modified a year ago)