Home  >  Article  >  Backend Development  >  求正责匹配字符串,该怎么解决

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

WBOY
WBOYOriginal
2016-06-13 13:36:11891browse

求正责匹配字符串

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];
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn