Hi All,
I need a regular expression to allow only integer and decimal numbers.
Examples :
100 - allowed
100.00 - NOT allowed
100. -NOT allowed
100.11.22 - NOT allowed
all characters other than numbers - NOT allowed
I used the regular expression - ^[0-9]+\.?[0-9]*$ - but its allowing "100." also.
Any one can help me resolve this.
Your timely help is greatly appreciated.
Thanks in advance.