Get your own Python server Result Size: 625 x 565
x
 
import re
txt = "That will be 59 dollars"
#Find all digit characters:
x = re.findall("\d", txt)
print(x)
['5', '9']