Regular Expressions 101

Library entries

Extract video code from YouTube URL

Vote

1

Regular Expression
javascript

/
^(!http|https):\/\/www.youtube\.com\/.*?v=(\w{11})
/

Description

Loading markdown...
Submitted by @uimanwashere - 7 years ago