举报
dim $text = FileRead( @ScriptDir & "\萌动校园.txt") if stringinStr($text,@CRLF) Then $text = StringRegExpReplace( $text, "(?m)(^.*\r\n)(?=(?:^.*\r\n)*\1)", '') Else $text = StringRegExpReplace( $text, "(?m)(^.*\n)(?=(?:^.*\n)*\1)", '') Endif dim $hFile = FileOpen('去重复行.txt',2+8) FileWrite ($hFile, $text) FileClose($hFile) msgbox (48,0,"ok!")
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-24 10:39 , Processed in 0.092374 second(s), 14 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.