I am using the following regex for validating youtube video share url\'s.
var valid = /^(http\\:\\/\\/)?(youtube\\.com|youtu\\.be)+$/; alert
Based on so many other regex; this is the best I have got:
((http(s)?:\/\/)?)(www\.)?((youtube\.com\/)|(youtu.be\/))[\S]+
Test: http://regexr.com/3bga2