I\'m trying to find the best regexp to fetch vimeo video id from URL.
Example urls :
https://vimeo.com/11111111 http://vimeo.com/1111111
var r = /(videos|video|channels|\.com)\/([\d]+)/, a = "https://vimeo.com/album/2222222/video/11111111"; console.log(a.match(r)[2]); // 11111111;
http://jsbin.com/asuqic/7/edit