Skip to content

Instantly share code, notes, and snippets.

{
"title" : "This new ASUS tablet pc is dope",
"score" : "A+",
"reviewData" : [
{
"title" : "Specs",
"content" : "Intel i7 CPU, very good, very good, also an NVidia GPU"
},
{
"title" : "Benchmark results",
@Zmetser
Zmetser / youtubeID.js
Last active August 29, 2015 13:56 — forked from takien/youtubeID.js
/**
* Get YouTube ID from various YouTube URL
* @author: takien
* @url: http://takien.com
* For PHP YouTube parser, go here http://takien.com/864
*/
function YouTubeGetID(url){
var ID = '';
url = url.replace(/(>|<)/gi,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/);