I think something like this should be able to do the job. Hope that it's helpful!!
REG_MATCH(POSTAL_CODE, '^(?:\d{3}|[A-Za-z]\d[A-Za-z])')