举报
Local $sSource = 'Windows6.1-KB2491683-X86' ;~MsgBox(0, '源字符串', $sSource) Local $aSRE = StringRegExp($sSource, '(?i)kb[^-]+', 1) If Not @Error Then MsgBox(0, '匹配数量: ' & UBound($aSRE), '其中[0]元素为: ' & $aSRE[0])
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-22 16:54 , Processed in 0.078205 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.