Magiaus
Sep 16th, 2004, 09:50 AM
[$]*[0-9]*[.][0-9][0-9]
That is the expression I am using now but it forces them to enter in $0.00 I want to allow just 0 or just 0.00 or just $0.
I tried [$]*[0-9]*[.][0-9][0-9]|[0-9]*|[$]*[0-9]*
but it isn't correct. I have tried several long expressions with no luck I always end up with either only one being accepted or none... I really wish this thing had a check setup to validate the expression before build and running the project....
That is the expression I am using now but it forces them to enter in $0.00 I want to allow just 0 or just 0.00 or just $0.
I tried [$]*[0-9]*[.][0-9][0-9]|[0-9]*|[$]*[0-9]*
but it isn't correct. I have tried several long expressions with no luck I always end up with either only one being accepted or none... I really wish this thing had a check setup to validate the expression before build and running the project....