求一段JS正则表达式,匹配金额function getPrice(s) { s = s.match(d+(?:.d+)?元) 如果没有匹配项,会返回空字符串 return s ? s[0] : ''}var pric2023-03-03JavaScript130