title: Python - Split string of numeric values with unknown delimiters
body: <p>I need to parse the numeric values from a string that is not well formatted. Example:</p>
  
  <pre><code>"0    0    .1        .05       .05       0.        0.         .01"
  </code></pre>
  
  <p>or </p>
  
  <pre><code>"0,0,.1,.05,.05,0.,0.,.01"
  </code></pre>
  
  <p>As you can see the delimiter can vary from several spaces to commas with no spaces. Also, the numbers may be ints or floats. I would like to split on any number of consecutive spaces, tabs, and commas. I thought I could do this with the <code>str.split()</code> function, however I found that it only works with one delimiter argument and will not do commas by default.</p>
  
  <p>Does anyone know a clever way to do this? Possibly with regular expressions?</p>
  
  <p>Thanks in advance.</p>