import re
stringWithNumbers='anystring2with 6.89 numbers3.55 3.141312'
digits = re.findall("[-+]?\d+\.?\d*", stringWithNumbers)
Python programming, with examples in hydraulic engineering and in hydrology.
Showing posts with label string manipulation. Show all posts
Showing posts with label string manipulation. Show all posts
Tuesday, July 24, 2018
Friday, December 4, 2015
Subscribe to:
Posts (Atom)