Regular Expressions 101

Library entries

Valid number format for input field (string)

Vote

0

Regular Expression
javascript

/
^(\d*|(\d+\.\d*))$
/
mg

Description

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