Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
yt(?<ytVer>[a-z])(?<ytID>[a-zA-Z0-9-_]{8,11})
/
gm

Description

ID of YouTube video with provider flag

Submitted by tomByrer - 2 years ago (Last modified 2 years ago)