I want a regular expression that will accept only floating point numbers from 0 to 9 and minus sign.

Please help.

Edit
Report