How would I write a validator validating zipcode with the following format: 4 digits space 2 capitals: e.g. 1000 AZ
This is syntactically not correct: IS_MATCH('\d{4}\ \[A-Z] {2}',error_message='no match 4 digits, space, 2 capitals') Kind regards, Annet