title: Splitting a text file into an array in Node JS
body: <p>Hi I have seen many examples for splitting the lines but how can I split lines in txt file if some lines contain \n in their string.</p>
  
  <p>Suppose I have a file with following lines:</p>
  
  <pre><code>"Test \n Line1"
  "Test Line 2"
  </code></pre>
  
  <p>How can I split these two lines as :</p>
  
  <pre><code>ResultArray = ['Test \n Line1', 'Test Line 2']
  </code></pre>