piighost/es-postal

Spanish postal code: five digits whose first two are a province from 01 to 52. Identical in length to the French, German, Italian and US codes, so two of them in one detector fight for the same span and the first declared wins.

Label: ES_POSTAL

Pattern

(?<!\d)(?:0[1-9]|[1-4]\d|5[0-2])\d{3}(?!\d)

Must be caught

Must be left alone

Tags: es, location, contact

Download the detector as TOML