Regular Expressions 101

Library entries

Youtube URLs

Vote

0

Regular Expression
javascript

/
^(?:https?:\/\/(www|m|)\.(youtube\.com\/watch\?v=|youtu.be\/))([a-zA-Z\d_-]{11})$
/
gm

Description

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