Strip YouTube Embed Code Down to URL Only

后端 未结 3 519
一生所求
一生所求 2021-01-28 05:42

Please help!

I need to strip the following code so that it only uses the \"value\" part

$

        
      
      
      
3条回答
'; preg_match_all('#http://www.youtube.com/v/([\w\-]+){11}#is', $string, $matches); print_r( array_unique($matches[0]) ); ?>

提交回复
热议问题