24 December, 2008

Regular Expression Validator

I need a regular expression that will validate a numeric value with just one digit to the right of the decimal position. For example, 123456789.5

Answer: [0-9]*\.[0-9]^

No comments: