regular expression for decimal numbers?
Posted
by James123
on Stack Overflow
See other posts from Stack Overflow
or by James123
Published on 2010-05-05T18:40:44Z
Indexed on
2010/05/05
18:48 UTC
Read the original article
Hit count: 198
I need a validation regex for decimal. It should allow upto 5 digits after decimal.
Allow:
1
1.0
12.0
12.01
123.01
1,123.01
1,123.013
21,123.01234
3,21,123.01234
How Can I do regex for this?
© Stack Overflow or respective owner