Every line of 'find numbers in string python' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
12 def extractnumbers(s): 13 return tuple(map(int,re.findall("(\d+)\.(\d+)\.(\d+)",str(s))[0]))