Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
regex validate double with 2 decimals
Mithun Das
Programming language:
Whatever
2021-07-07 06:51:05
0
Q:
regex validate double with 2 decimals
Alfonzo Luz
Code:
Whatever
2021-07-09 17:06:11
^(\d+(\.\d{0,2})?|\.?\d{1,2})$
0
Tags
date
Related
xcode truncate number of decimal places of double
android round double to 2 decimal
number between 0 and 5 with decimals regex
coffeescript float to two decimal places
perl format decimal 2 places not rounding
New to Communities?
Join the community