DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
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']
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#extract
#float
#string
#python
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit