Regular Expressions 101

Library entries

Wordpress Plugins Readme Parse Youtube

Vote

2

Regular Expression
pcre

/
\[(youtube )(\s*)([http:\/\/(?:www\.)?youtube.com\/watch\?(?=.*v=\w+)(?:\S+)?$]+)\]
/

Description

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