title: How to use find & replace to wrap each line in document with quotations and a comma after in VS Code
body: <p>I have a bunch of data separated by lines in a file that i intend to use as JSON data. I've been able to select each line with regex using <code>(.+)</code>, but when i try to replace all with <code>"\1",</code> it just replaces it with the actual string of those characters, instead of wrapping each line in quotations and adding a comma. Is this possible in VS code?</p>
  
  <p>And a "wishlist" question: I have the sets of data separated by groups. There is an empty space/new line below each group. Is there some regex i can add that wraps each line in quotes, and adds a comma after EXCEPT the last line before the empty space/new line?</p>
  
  <p>Thanks!</p>
  
  <p><strong>EDIT:</strong>
  Sample data below. It's just string data with some escaped quotation marks. </p>
  
  <pre><code>data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  data example \"exampe\" line
  </code></pre>
  
  <p><strong>EDIT:</strong>
  Desired output below. The last line in a "set" of data not having the comma is just a "wish list" kind of thing. Won't be a huge deal for me to remove the last line's comma. Really just want each line/string to be surround by quotes and comma at the end.</p>
  
  <pre><code>"data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line"
  
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line"
  
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line",
  "data example \"exampe\" line"
  </code></pre>