I need some help. I am trying to vaildate a string. The user needs to insert a number no bigger than 30 characters long and needs to be number. So no more than one "." and one "-". Also, I can't have any alpha charaters (i.e. a,b,c,d,e,f....).
This is what I have so far...