Regular Expressions 101

Community Patterns

-3

IPv4 address

Python
Matches any IPv4 address
Submitted by anonymous - 8 years ago
-3

hjghj

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 10 years ago
-3

cake

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 10 years ago
-3

mail

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 10 years ago
-3

s

ECMAScript (JavaScript)
s
Submitted by anonymous - 10 years ago
-3

1111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago

youtube url match

10

Regular Expression
ECMAScript (JavaScript)

/
(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|playlist\?|watch\?v=|watch\?.+(?:&|&#38;);v=))([a-zA-Z0-9\-_]{11})?(?:(?:\?|&|&#38;)index=((?:\d){1,3}))?(?:(?:\?|&|&#38;)?list=([a-zA-Z\-_0-9]{34}))?(?:\S+)?
/
g

Description

Loading markdown...
Submitted by anonymous - 9 years ago