Regular Expressions 101

Library entries

Validate decimal

Vote

0

Regular Expression
javascript

/
^\d+(?:[.|,]\d{1,4})?$
/
mg

Description

Loading markdown...
Submitted by anonymous - 2 years ago