Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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] : "";
Source by # #
 
PREVIOUS NEXT
Tagged: #regex #youtube #id
ADD COMMENT
Topic
Name
5+9 =