I want to extract the video link out of youtube embed code, I am searching for a regex solution for

Posted by Starx on Stack Overflow See other posts from Stack Overflow or by Starx
Published on 2010-05-31T07:40:52Z Indexed on 2010/05/31 7:42 UTC
Read the original article Hit count: 238

Filed under:
|

For example: an youtube embed code

<object width="480" height="385">
        <param name="movie" value="http://www.youtube.com/v/TFlzeO267qY&hl=en_US&fs=1&"></param>
        <param name="allowFullScreen" value="true"></param>
        <param name="allowscriptaccess" value="always"></param>
        <embed src="http://www.youtube.com/v/TFlzeO267qY&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed>
</object>

I want to extract http://www.youtube.com/v/TFlzeO267qY&hl=en_US&fs=1&" from this embed code but I dont know how to create a regex expression for this

Thanks in Advance?

© Stack Overflow or respective owner

Related posts about php

Related posts about regex