举报
Local $sSource = 'F:\下载文件夹\火狐下载\AUTOIT2.14.2正式版.EXE' ;~MsgBox(0, '源字符串', $sSource) Local $sSRERe = StringRegExpReplace($sSource, '.+\\|\.[^.]+$', '') MsgBox(0, '替换结果', $sSRERe)
#include <Array.au3> Dim $sStr = 'F:\下载文件夹\火狐下载\AUTOIT2.14.2正式版.EXE' Dim $aArray = StringRegExp($sStr, '\\([^\\]+)\.\w{3}, 3) _ArrayDisplay($aArray)
查看全部评分
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-5-24 17:09 , Processed in 0.216466 second(s), 25 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.