Regular Expressions 101

Library entries

Youtube ID match

Vote

9

Regular Expression
pcre

/
(?<=\d\/|\.be\/|v[=\/])([\w\-]{11,})|^([\w\-]{11})$
/
gim

Description

Loading markdown...
Submitted by Jacob Overgaard - 8 years ago