Regular Expressions 101

Library entries

YouTube Video Id Extractor

Vote

0

Regular Expression
pcre2

/
(http(?: s) ?: \/\/(?:m.)?(?:www\.)?)?youtu(?:\.be\/|be\.com\/(?:watch\?(?:feature=youtu\.be\&)?v=|v\/|embed\/|user\/(?:[\w#]+\/)+))([^&#?\n]+)
/

Description

Loading markdown...
Submitted by UnrealApex - 4 months ago