Hi Bala,
Here is the regex for dollar symbol
^([0-9]{1,3}\$?)$
(dollar optional here)
If dollar mandatory at last with single appearance then use this
^([0-9]{1,3}\$)$
or ^([0-9]{1,3}\${1})$
(dollar mandatory here)
will allow 100$, 111$, 001$, 123$.
For indian currency you can try this
^(\₹[0-9]{1,3})$
(rupee symbol is mandatory and should appear at first character)
but its not working in
Rubular regex tester[
^]
Since ₹ does'nt have any description for it, its working in
here.So I hope it would work for you also.
Hope this helps you a bit.
Regards,
RK