Extract float numbers from string in python : <p>i want to extract the numbers from the <strong>following string</strong>:</p>

<p>FRESENIUS44.42 BAYER64.90 FRESENIUS MEDICAL CARE59.12 COVESTRO45.34 BASF63.19</p>

<p>I've tried the following approach but that didn't work:</p>

<pre><code>l = []

for t in xs.split():

try:
    l.append(float(t))
except ValueError:
    pass
</code></pre>

<p>The <strong>result</strong> should be 44.42 64.90 59.12 45.34 63.19</p>

<p>Thank you!</p>
