Winston
Well-known member
Ok im trying to validate that the text is in the format of
oneOrMoreDigits - oneOrMoreDigits
i.e. 56 - 577
0-234
this is what i have
[\d]+ [-] [\d]+
Why on earth doesnt that validate?
Im trying to make it so it only validates like that, and that if theres any other foriegh characters inserted in there, it will fail.
Thanks guys.
oneOrMoreDigits - oneOrMoreDigits
i.e. 56 - 577
0-234
this is what i have
[\d]+ [-] [\d]+
Why on earth doesnt that validate?
Im trying to make it so it only validates like that, and that if theres any other foriegh characters inserted in there, it will fail.
Thanks guys.