I am trying regex to find out whether a number is divisible by 10 or by 5. So basically, I am trying to see whether the number end in 0 or 5.
This is my regular expression
^[1-9]*0?.0$
I encounter issues when the input is 100.0 or 55.0
What should the regular expression be?
Thanks, Sandy