提取所有数字

result = re.findall(r"\d+", str)

原文地址:https://www.cnblogs.com/lexus/p/1764763.html