title: How to add a comma to the last character of a line in a textfile
body: <p>I have a very long text file full of email adresses, from an export of a newsletter db. To import them in another system I need to have these adresses separated by a comma.</p>
  
  <p>I'm trying to do a search/replace using regex. So far I can find the last character of each line with :</p>
  
  <pre><code>[^\n]$
  </code></pre>
  
  <p>So that's for my "Search" field. But I don't know with what to put into "Replace". I'm very new to regex, is there a wildcard that would allow to do something like :</p>
  
  <pre><code>[any characted found],
  </code></pre>