Answers for "regex youtube id"

0

regex youtube id

var id = url.match("v=([a-zA-Z0-9_-]+)&?")[1];
var list = url.match("list=([a-zA-Z0-9-_]+)&?");
list = list ? list[1] : "";
Posted by: Guest on September-15-2021

Browse Popular Code Answers by Language