title: Javascript text divide by tabs problem (multiline-cells)
body: <p>I have a strange issue in my Web Page, specifically with a text area element that obtains the clipboard from the user.</p>
  
  <p>The user perform a CTRL+V; and I created a event to get the data with the event KeyUp.</p>
  
  <p>...this works fine...</p>
  
  <p>But, when I try to divide by each "row" of this textarea; start the problems...
  The input can be like this example:</p>
  
  <p><img src="https://i.stack.imgur.com/Ge9W3.png" alt="excel"></p>
  
  <p>The data reads something like that:</p>
  
  <p>Row1[0][HT]Row1[1][LF]"Row2[0] Comment line 1[LF]Row2[0] Comment line 2"[HT]Row2[1]</p>
  
  <p>Where:
   [HT] means {Tab}
   [LF] means {New line}</p>
  
  <p>I use:</p>
  
  <pre><code>var myData = document.getElementById("TextAreaElement").value;
  var vArray = myData.split(/\n/);
  </code></pre>
  
  <p>But this array return me 3 lines...</p>
  
  <p><img src="https://i.stack.imgur.com/CNcMR.png" alt="debug"></p>
  
  <hr>
  
  <p>Somebody knows any solution or alternative way?</p>