title: JS string to array of number
body: <p>So i have this string</p>
  
  <pre><code>first €999, second €111
  </code></pre>
  
  <p>Im trying to make an array that looks like this (numbers after every €)</p>
  
  <pre><code>999,111
  </code></pre>
  
  <p>Edit:</p>
  
  <p>Yes i have tried to split it but wont work. i tried to look it up on google and found something with indexof but that only returned the number of the last €.</p>
  
  <pre><code>       rowData[2].split('€').map(Number);
         parseInt(rowData[2].replace(/[^0-9\.]/g, ''), 10);
         split(rowData[2].indexOf("€") + 1);
  </code></pre>
  
  <p>The numbers are variable.</p>