import math import r print(re.findall(r"\d+[.\d]?", "xxxxx$19.99"))