中国开发网: 论坛: 程序员情感CBD: 贴子 546106
freegink: 【技术帖】正则表达式的问题
需要匹配的文本:

<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="到后一页">

很明显取不到我要的结果,需要各位大牛指点一下该怎么写

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录