title: Paste content from Excel to Chrome
body: <p>I am currently dealing with an issue of copying multiple rows of one column from Excel (on macOS) to the browser. I am receiving an <code>event</code> and access the copied content like this: <code>event.clipboardData.getData('text/plain');</code></p>
  
  <p>After I received the content, I want to split them with various matchers like this:</p>
  
  <pre><code>const separators = [',', ';', '\\(', '\\)', '\\*', '/', ':', '\\?', '\n', '\t'];
  return data.split(new RegExp(separators.join('|'), 'g')).map(d =&gt; d.trim());
  </code></pre>
  
  <p>This works perfectly in Firefox but it does not in latest Chrome and Safari. I thought, you would match new rows with <code>\n</code> or <code>\t</code>. My goal is to retrieve an array of values per line. I imagine this has something to do with special line endings of Excel because when using Numbers from Apple everything works perfectly.</p>
  
  <p>Any help really appreciated. Thanks in advance!</p>