首页 >后端开发 >php教程 > 求正责匹配字符串,该怎么解决

求正责匹配字符串,该怎么解决

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-06-13 13:36:11937浏览

求正责匹配字符串

HTML code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
<div class="tabs">
            <ul>
                <li class="current"><span>剧集列表</span></li>
                                        <li onclick="nova_update('eplist', '/show_eplist/showid_z1b5b8110561411e1a19e_type_list.html')"><span>分集剧情</span></li>
                        </ul>
        </div>


我要得到:/show_eplist/showid_z1b5b8110561411e1a19e_type_list.html
请问怎么匹配一下。

------解决方案--------------------
PHP code
$t =  
  • 剧集列表
  • 分集剧情
html; preg_match("# '(.*?)'\)#s",$t,$m); echo $m[1];
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn