Advertisement
anonymous1184

Untitled

Jan 11th, 2021
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fileIn := A_Desktop "\input.txt"
  2. fileOut := A_Desktop "\output.txt"
  3.  
  4. out := ""
  5. Loop, Read, % fileIn
  6. {
  7.     RegExMatch(A_LoopReadLine, " ?{.+} ?", match)
  8.     out .= StrReplace(A_LoopReadLine, match, " ") "`r`n"
  9. }
  10. FileOpen(fileOut, "w").Write(out).Close()
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement