Your source is too low quality to rely on automatic procedures. You already have a file with long lines, open it in Notepad++ or like, paste the expressions into "Search" and "Replace" boxes, set the "Regular expression" switch, and press "Replace All". Then find where that expression failed, and replace those manually.
What "spaces" are you talking about?
|