human
How to extract a floating number from a string
assistant
Here is some code to extract floating point numbers from a string 'Current Level: -13.2 db or 14.2 or 3'

re.findall('[-+]?\\d*\\.\\d+|\\d+', 'Current Level: -13.2 db or 14.2 or 3')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.