In a system that I'm developing I need to recognize the youtube link in the following format
[youtube]youtube url[/youtube]
for the moment I arrived at this regular expression:
#\[youtube\]http://www.youtube\.(.*)/watch\?v=([a-zA-Z0-9_-]*)\[\/youtube\]#s
But this pattern isn't able to recognize url like
[youtube]http://www.youtube.com/watch?v=s3wXkv1VW54&feature=fvst[/youtube]
Note the feature=fvst.
Some one can help me in recognize all possible youtube url?