title: Split from number with possible decimals
body: <p>I'm trying to split a string from where a number is encountered. The problem is the number can sometimes have decimals in it.</p>
  
  <p>I tried this without any luck:</p>
  
  <pre><code>str = "hello there can sometimes be decimals like 1.5 in here"
  var parts = str.split(/\d*\.?\d*/);
  </code></pre>
  
  <p>The intended result would be an array with everything before the number in first position, then the number, then the rest of the string.</p>
  
  <p>What am I doing wrong?</p>