找回密码
 加入
搜索
查看: 1538|回复: 1

[AU3基础] [已解决]求一正则表达式

[复制链接]
发表于 2011-6-22 14:23:55 | 显示全部楼层 |阅读模式
本帖最后由 zzzhanghc 于 2011-6-22 14:31 编辑

<a name="pxxmInfo" href="../pub/BmjlInfo.aspx?JSID=342347" target="_blank">
                                    <font color="navy">
                                       张三</font></a>

匹配 数字 342347
$list = StringRegExp($HTMLSource, 'BmjlInfo.aspx\?JSID=(.*?)" target=_blank name=pxxmInfo>\r(?x)<FONT color=navy>\r(?x)张三</FONT></A>',3)
这样写不知道怎么错,主要是卡在回车符号上

请告手帮忙看看
 楼主| 发表于 2011-6-22 14:31:14 | 显示全部楼层
$list = StringRegExp($HTMLSource, 'BmjlInfo.aspx\?JSID=(.*?)" target=_blank name=pxxmInfo>\s*?<FONT color=navy>\s*?张三</FONT></A>',3)
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-10-2 01:42 , Processed in 0.095017 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表