What more needs to be said?
This needed to be done ....
some new comment
https://stackoverflow.com/questions/1276764/stripping-everything-but-alphanumeric-chars-from-a-string-in-python "import re, string; pattern = re.compile('[\W_]+')" \ "pattern.sub('', string.printable)"
https://stackoverflow.com/questions/4703390/how-to-extract-a-floating-number-from-a-stringre.findall(r"[-+]?\d*\.\d+|\d+", "Current Level: -13.2 db or 14.2 or 3")
This needed to be done ....
ReplyDeletesome new comment
ReplyDeletehttps://stackoverflow.com/questions/1276764/stripping-everything-but-alphanumeric-chars-from-a-string-in-python
ReplyDelete"import re, string; pattern = re.compile('[\W_]+')" \
"pattern.sub('', string.printable)"
https://stackoverflow.com/questions/4703390/how-to-extract-a-floating-number-from-a-string
ReplyDeletere.findall(r"[-+]?\d*\.\d+|\d+", "Current Level: -13.2 db or 14.2 or 3")