Regular Expressions 101

Library entries

price float pattern

Vote

2

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by @jprajani - 7 years ago