[阅读: 323] 2007-08-02 08:23:32
需要匹配的文本:
<a style="text-decoration: none;" href="12390706.html" TITLE="到第一页"><b>首页</b></a> <a style="text-decoration: none;" href="12390706.html" TITLE="到上一页">上页 </a> | <a style="text-decoration: none;" href="12390706.html">1</a> | <b><font color=red>2</font><font color=black></b> | <a style="text-decoration: none;" href="12390706_1.html" TITLE="到后一页"> 下页</a> <a style="text-decoration: none;" href="12390706_1.html" TITLE="到最后页">
我需要取到“下页”的URL,我是这样写的正则表达式:
<a style="text-decoration: none;" href="(.*)" TITLE="到后一页">
很明显取不到我要的结果,需要各位大牛指点一下该怎么写