Unfortunitely, that won't allow any digits after the decimal point.
Also, I still don't understand why [0-9\.] won't allow 9.7 and [A-Za-z0-9]
won't allow AbC98. Seems like something is not working right. (or I have a
bad book)
T
"Siva M" <sh******@online.excite.com> wrote in message
news:OT*************@TK2MSFTNGP10.phx.gbl...
Try this one: ^[\d]+\.{1}$
It allows one or more digits followed by exactly one decimal point
"Tina" <ti**********@nospammeexcite.com> wrote in message
news:ub**************@TK2MSFTNGP14.phx.gbl...
I'm trying to allow only numeric characters and a decimal point in a
textbox. According to my RE book [0-9\.] should work but it doesn't - it
will only allow numeric characters. Also the standard [A-Za-z0-9] does
not
work- it won't allow any letters?
What am I doing wrong?
Thanks,
T