title: Remove line break if line does not start with : with Powershell
body: <p>I try to enrich MT940-files. If part of the file looks like this:</p>
  <pre><code>:86:Mitsubishi Co Ltd  
  1-19, Higashi 88  
  MHCBJPJTXXX  
  SCN123  
  :61:2202280228C211619,64NMSCSWEEP A/C 555603  
  </code></pre>
  <p>I would like it to look like this:</p>
  <pre><code>:86:Mitsubishi Co Ltd 1-19, Higashi 88 MHCBJPJTXXX SCN123  
  :61:2202280228C211619,64NMSCSWEEP A/C 555603  
  </code></pre>
  <p>So basically join the line with the previous one if it does not start with :</p>
  <p>I can get it to remove the line break if it starts with : by using</p>
  <blockquote>
  <p>(Get-Content &quot;filename&quot; -Raw)  -replace '\r?\n:' -split '\r?\n' |
  Set-Content  &quot;filename&quot;</p>
  </blockquote>
  <p>but I just cannot get it to remove the line break if it does not start with :.</p>