title: vim: delete all words on line except last
body: <p>I'm having trouble coming up with a vim find/replace to delete all the words on a line except the last one, i.e. in a bit of SQL, it be nice to generate a list of all the aliases from a bunch of code</p>
  
  <pre><code>select 
  column_a alias_a,
  column_b alias_b,
  column_c alias_c
  
  from 
  ...
  </code></pre>
  
  <p>I'd like to just generate the list </p>
  
  <pre><code>alias_a, alias_b, alias_c
  </code></pre>
  
  <p>So I think i want to delete all words that aren't immediately followed by a comma and line ending</p>