Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fileIn := A_Desktop "\input.txt"
- fileOut := A_Desktop "\output.txt"
- out := ""
- Loop, Read, % fileIn
- {
- RegExMatch(A_LoopReadLine, " ?{.+} ?", match)
- out .= StrReplace(A_LoopReadLine, match, " ") "`r`n"
- }
- FileOpen(fileOut, "w").Write(out).Close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement