title: how to add an extra character at end of each line in vim
body: <p>I have the following use case, my file contents look like this</p>
  
  <pre><code>a
  b
  c
  </code></pre>
  
  <p>I want a regular expression to do this</p>
  
  <pre><code>a|
  b|
  c|
  </code></pre>
  
  <p>Can you recommend a regex in vim?</p>