jQuery Youtube URL Validation with regex

Posted by Mithun on Stack Overflow See other posts from Stack Overflow or by Mithun
Published on 2010-06-03T09:31:52Z Indexed on 2010/06/03 9:34 UTC
Read the original article Hit count: 893

Filed under:
|
|
|
|

I know there is plenty of question answered over here http://stackoverflow.com/questions/tagged/youtube+regex, but not able find a question similar to me.

Any body has the JavaScript Regular expression for validating the YouTube VIDEO URL's line below listed. Just want to know where such a URL can be possible

http://www.youtube.com/watch?v=bQVoAWSP7k4
http://www.youtube.com/watch?v=bQVoAWSP7k4&feature=popular
http://www.youtube.com/watch?v=McNqjYiFmyQ&feature=related&bhablah
http://youtube.com/watch?v=bQVoAWSP7k4

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery