小弟对正则表达式没有研究,哪位大侠帮助一下,从下列字符串中提取一个flv地址
字符串:
<div><center><div><center><embed width="640" height="480" pluginspage="http://www.macromedia.com/go/getflashplayer" src="../common/yxpt_flv_player.swf" type="application/x-shockwave-flash" allowfullscreen="true" flashvars="file=../upload/gzncces_yxpt_130726/201307262230378045.flv&autostart=true" quality="high" play="true" loop="true" /></center></div></center></div>要求匹配取出
../upload/gzncces_yxpt_130726/201307262230378045.flv
字符串:
<div><center><div><center><embed width="640" height="480" pluginspage="http://www.macromedia.com/go/getflashplayer" src="../common/yxpt_flv_player.swf" type="application/x-shockwave-flash" allowfullscreen="true" flashvars="file=../upload/gzncces_yxpt_130726/201307262230378045.flv&autostart=true" quality="high" play="true" loop="true" /></center></div></center></div>要求匹配取出
../upload/gzncces_yxpt_130726/201307262230378045.flv
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货