VBS正则表达式
摘要:
删除字符串中指定的内容Dim pathStr, newPathStrpathStr = "c:\windows;%My%\tool;e:\test;%Tg%\ff;d:\mm"set regEx = New RegExpregEx.Pattern = ";%[a-zA-Z]+%(\\[a-zA-Z]+)*"regEx.Global = TruenewPathStr = regEx.Replace(pathStr, "")MsgBox(newPathStr) 阅读全文
posted @ 2013-09-07 22:52 应无所住而生其心 阅读(262) 评论(0) 推荐(0) 编辑