🌈 搜索
📅  最后修改于: 2022-03-11 14:45:30.561000             🧑  作者: Mango
from re import sub from decimal import Decimal money = '$6,150,593.22' value = Decimal(sub(r'[^\d.]', '', money))