Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?<=\=)(.*?)(?=\&)
/
gmi

Description

Given a youtube URL ... pull the video ID

Submitted by anonymous - 3 years ago