Quote:
i need to allow like 13.52% or 13.52 or 1.3 or 1.3%
Then you need to tell us that, don't you! We really can't read your mind...
Try:
^(\d+(\.\d+)?)%?$
If you want to use Regular Expressions, then get a copy of
Expresso[
^] - it's free, and it examines and generates Regular expressions.