Anyways, for now i am good. Thanks for helping me !!!!
chokka
ASKER
@Wilcoxon
Regex which you shared : ^\d{1,3}\.\d{1,2}$
When we enter the digit as 100 , it doesn't take it. It is expecting to enter the digit as 100.00
decimal unit should be optional as well as decimal unit should not exceed more than 2 units.
Is there some reason that you did not give me partial credit for providing the regex (the same one that David Johnson used in his code)?
Based on your original post and your first comment, it appeared you were saying that at least one decimal digit was required. To make it optional, change the regex to:
Please show a sample of valid and invalid entries