Answers for "python3 regex for floats"

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

Python Answers by Framework

Browse Popular Code Answers by Language