Hey guys,
I am in a need of a Regular Expression to restrict input to only certain characters in a text box. Any help would be gretly appreciated.
The text box can only allow 0 or 1 "+" sign at the beginning and at no other position.
The text box can only allow 0 or 1 ":" sign not before the "+" sign.
The text box can allow any number of 0-9 digits.
e.g.
10 = GOOD
+10 = GOOD
+:10 = GOOD
:10 = GOOD
12:20 = GOOD
+12:20 = GOOD
No other characters allowed.
Hope this makes sense.
TA![]()


Reply With Quote
