Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
price float pattern
Open Workspace
JavaScript
Unit Tests
Created 2014-12-14 09:10
2
Regular Expression
/
^\d
+
(?:
[
.
]
\d
{1,2}
|
$
)
$
/
Description
Checks that value is float format and has two digits at max
Submitted by
@jprajani