Regular Expressions 101

VidID: YouTube

Open Workspace
  • JavaScript
  • Match
0

Regular Expression

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

Description

ID of YouTube video with provider flag

Submitted by tomByrer