[thelist] numeric with 2 decimal in javascript regular expression
demy more
dialforpaul at yahoo.co.in
Tue Sep 27 04:23:15 CDT 2005
Hi ,
I am facing a problem regarding java script regular
expression .
I need regular expression for numeric field which will
allow me to accept only 2 decimal . ex : 11.11 allowed
but 11.111 not allowed .
I have given like this
/^d[0-9.]+$/
Then how to proceed . it is allowing me any decimal
number . But I only need 2 decimal .
Can any body help me in this regards
Asit
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
More information about the thelist
mailing list