I am building a web page where people can link in a youtube video by
copying and pasting the link that is provided by youtube. How can I
use a regular expression to capture the URL only from the link below:
<object width="425" height="355"><p aram name="movie" value="http://
www.youtube.com/v/xSqNx7vJLDE&rel =1"></param><param name="wmode"
value="transpar ent"></param><embed src="http://www.youtube.com/v/
xSqNx7vJLDE&rel =1" type="applicati on/x-shockwave-flash"
wmode="transpar ent" width="425" height="355"></embed></object>
Thanks
copying and pasting the link that is provided by youtube. How can I
use a regular expression to capture the URL only from the link below:
<object width="425" height="355"><p aram name="movie" value="http://
www.youtube.com/v/xSqNx7vJLDE&rel =1"></param><param name="wmode"
value="transpar ent"></param><embed src="http://www.youtube.com/v/
xSqNx7vJLDE&rel =1" type="applicati on/x-shockwave-flash"
wmode="transpar ent" width="425" height="355"></embed></object>
Thanks
Comment