import re

find_float = lambda x: re.search("\d+(\.\d+)?", x).group()
find_float("有1.3元")

  



相关文章: