title: Remove all white space in a file and replace them with a comma using Vim
body: <p>Anyone has an idea how to remove all white space and replace them  with a comma <code>,</code> in a file using Vim ?
  File input  example (words could be everywhere !): </p>
  
  <pre><code>C1       TEST   PROD
  A1    BE
  
  
  T1     B1 
  </code></pre>
  
  <p>File output example(all words belonging to the same line are like in the example below):</p>
  
  <pre><code>C1,TEST,PROD
  A1,BE
  T1,B1 
  </code></pre>
  
  <p><strong>I Found it</strong> :
  <code>%s/\s\{1,}/,/gc</code></p>