找回密码
 加入
搜索
查看: 1192|回复: 2

[AU3基础] 如果用正则提取12位纯数字(已解决)

[复制链接]
发表于 2019-9-5 22:14:14 | 显示全部楼层 |阅读模式
本帖最后由 xymc 于 2019-9-5 22:36 编辑

Local $text = "add disabled=no interface=vrrp_9 name=ad_9 password=666888 user=075591180513"

$adsl = stringregexp($text, '\d{12}',3);提取宽带帐号

Msgbox(0, "提取到的宽带帐号是", $adsl[0])



有不同方法可以留言

发表于 2019-9-5 22:17:26 | 显示全部楼层
\d{12}
 楼主| 发表于 2019-9-5 22:37:22 | 显示全部楼层

谢谢,已解决
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-4-20 21:03 , Processed in 0.072715 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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