php正则匹配
ringa_lee
ringa_lee 2017-04-11 08:57:25
0
1
1886

<embed type=&quot;application/x-shockwave-flash&quot; class=&quot;edui-faked-&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer| 23da7cd13bc520fd554bb88a81c2f7635 |quot; src=&quot;http://v.qq.com/cover/y/y7sekzn1avoyg0c.html?vid=x00207ht4fe| 23da7cd13bc520fd554bb88a81c2f7637 |quot; width=&quot;420&quot; height=&quot;280&quot; wmode=&quot;transparent&quot; play=&quot;true&quot; loop=&quot;false&quot; menu=&quot;false&quot; allowscriptaccess=&quot;never&quot; allowfullscreen=&quot;true&quot;/>
匹配上面embed:得到数组
array(
'0'=>'<embed type=&quot;application/x-shockwave-flash&quot; class=&quot;edui-faked-&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer| 23da7cd13bc520fd554bb88a81c2f76329 |quot; src=&quot;http://v.qq.com/cover/y/y7sekzn1avoyg0c.html?vid=x00207ht4fe| 23da7cd13bc520fd554bb88a81c2f76331 |quot; width=&quot;420&quot; height=&quot;280&quot; wmode=&quot;transparent&quot; play=&quot;true&quot; loop=&quot;false&quot; menu=&quot;false&quot; allowscriptaccess=&quot;never&quot; allowfullscreen=&quot;true&quot;/>',
'1'=>'http://v.qq.com/cover/y/y7sekzn1avoyg0c.html?vid=x00207ht4fe'
)

ringa_lee
ringa_lee

ringa_lee

membalas semua(1)
小葫芦

preg_match('/http:| 2c4cf67eace99f5a255f0885ca8b56be0 |/v.qq.com/cover/(w)/(w+).html?vid=(w+)/is', $string, $match);
参考 正则表达式教程

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan