I need to write a bit of validation that will accept UK postoceds entered into a text field.
i need to accept (including a space) only the 4 cases below and display an alertbox if there isn't a match to the mask.
if x = char
and 0 = digit
the four cases are
x0 0xx
x00 0xx
xx0 0xx
xx00 0xx
i need to accept (including a space) only the 4 cases below and display an alertbox if there isn't a match to the mask.
if x = char
and 0 = digit
the four cases are
x0 0xx
x00 0xx
xx0 0xx
xx00 0xx