Currently i have a RegEx which allows only numeric
if (/$^\d+([.]?\d{0,50})?$/.test(value)
Basically i need a RegEx
which should allow
only numeric
one decimal point
one $ character
I have added $
in the existing expressing, but that does not seem to be the solution. How to achieve the above all 3 scenarios