Regular Expressions 101

Library entries

YouTube ID receiver

Vote

0

Regular Expression
javascript

/
(?:https?:\/\/(?:www)?\.?y(?:2u\.be|outu\.be|outube.com)\/)(?:watch\?v=)?([\w\d]+)
/
gmi

Description

Loading markdown...
Submitted by Velidan - 3 months ago