Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
476 views
in Technique[技术] by (71.8m points)

javascript - 正则表达式,用于匹配文本中用小数点和逗号分隔的数字(数量)(Regular expression to match numbers(amount) separated by decimals and comma in text [closed])

I'm trying to validate an amount formatted with decimals and commas and it should allow only numbers.

(我正在尝试验证以小数和逗号格式设置的金额,并且该金额只能包含数字。)

True values:

(真实值:)

1.000.000,00
2.000,23
4.000.000.000
  ask by shams translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...