Regular Expressions 101

Sponsors

Library entries

2
javascript

get href

gets value of href
Submitted by me - 7 years ago
2
javascript

URL with Port

no description available
Submitted by rkl - 7 years ago
2
python

lottery data picker

for azlottoapi
Submitted by anonymous - 2 years ago
2
python

IpAddress

Ensure the ip address format is correct
Submitted by aaa - 2 years ago

youtube url match

Vote

4

Regular Expression
javascript

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

Description

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