How many decimal places? Infinite?
If you are trying to check valid currency, e.g. 2 decimal places then this will work:
[0-9]+(\.[0-9][0-9])
If you want any amount of decimal places
[0-9]+(\.\d)
I should probably note that the first regex works flawlessly in a RegularExpressionValidator it matches just X.XX but, for some reason, if I try to Match in code, it doesnt work as well, I dont know why. In any case those should work.
that should work
-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
^^Thats my signature
|