Answers for "regex match float numbers python"

2

extract float from string python

>>> re.findall(r"[-+]?d*.d+|d+", "Current Level: -13.2 db or 14.2 or 3")
['-13.2', '14.2', '3']
Posted by: Guest on February-17-2020

Code answers related to "regex match float numbers python"

Python Answers by Framework

Browse Popular Code Answers by Language