title: Delete all newline characters not followed by ‘£’ on the next line in Vim
body: <p>I have a very large file, and I want to remove all newline characters at the end of each line, so to merge all, except if the line starts with the character <code>£</code>.</p>
  
  <p>So, if I have this:</p>
  
  <pre><code>data1
  data2
  £data3
  data4
  data5
  </code></pre>
  
  <p>I would like to end up with this:</p>
  
  <pre><code>data1data2
  £data3data4data5
  </code></pre>
  
  <p>I was thinking of something like</p>
  
  <pre><code>:%s/\n(but not \n£)//g
  </code></pre>
  
  <p>Any ideas?</p>