Regular Expressions 101

Library entries

youtube video id

Vote

1

Regular Expression
javascript

/
(youtu\.be\/|youtube(-nocookie)?.com\/(v\/|e\/|.*u\/\w+\/|embed\/|.*v=))([\w-]{11})
/
g

Description

Loading markdown...
Submitted by Mantish - 6 years ago