title: adding comma to each line using sublime text 2
body: <p>I am trying to use sublime's text search and replace function and regex to match a string of number in each line and append a comma to each. So here's the sample file:</p>
  
  <pre><code> 273794103
   418892296
   134582886
   380758661
   109829186
   248050497
   2167935715
   374858669
  </code></pre>
  
  <p>I want this to be:</p>
  
  <pre><code> 273794103,
   418892296,
   134582886,
   380758661,
   109829186,
   248050497,
   2167935715,
   374858669,
  </code></pre>
  
  <p>I tried doing this <code>(\d+)\n</code> and replacing it with <code>$1,</code> but this doesn't work. Any idea why?
  FYI for those who are not into sublime but into regex, Sublime Text uses Python's regex engine.</p>