Regular Expressions 101

Library entries

YouTube URL ID matcher

Vote

1

Regular Expression
javascript

/
(https?:\/\/)?(www\.)?youtu\.?be(\.com\/watch\?v=)?\/?
/
g

Description

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