举报
yuantian 发表于 2021-10-9 19:10 给个例子好不好??不太懂描述。保存到桌面2021.au3
_au3() Func _au3() ;删除注释 FileDelete(@DesktopDir & "\2021.txt") $s = FileRead(@DesktopDir & "\2021.au3") $s = StringRegExpReplace($s, '(?s)#cs(?:(?!#ce).)*#ce', '$1') FileWrite(@DesktopDir & "\2021.txt", $s) ShellExecute(@DesktopDir&"\2021.txt") EndFunc ;==>_au3 #cs fsedsaaaaaaaaaaaa^^^ sfaaaaaaaaaa fass#cessssssss b #cee #ce
afan 发表于 2021-10-9 19:27
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-11-21 11:36 , Processed in 0.123521 second(s), 20 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.