Question: I have a number of strings similar to `Current Level: 13.4 db.` and I would like to extract just the floating point number. I say floating and not decimal as it's sometimes whole. Can RegEx do this or is there a better way?

Answer: 
You can use the following regex to get integer and floating values from a string:

```
re.findall(r'[\d\.\d]+', 'hello -34 42 +34.478m 88 cricket -44.3')

['34', '42', '34.478', '88', '44.3']

```

Thanks
Rex
I think that you'll find interesting stuff in the following answer of mine that I did for a previous similar question:

<https://stackoverflow.com/q/5929469/551449>

In this answer, I proposed a pattern that allows a regex to catch any kind of number and since I have nothing else to add to it, I think it is fairly complete