piighost/ar-postal
Argentine CPA postal code: a province letter, four digits for the town, then three letters for the block side. The letters at both ends make it unmistakable, which is what a postal code should look like.
Label: AR_POSTAL
Pattern (?<!\w)[A-Z]\d{4}[A-Z]{3}(?!\w)
Must be caught Envialo a C1425DKE, Palermo, Buenos Aires. → C1425DKELa sucursal de B1636FDA ya cerró. → B1636FDA
Must be left alone El codigo viejo era 1425Referencia C1425DK
Tags: ar, location, contact
Download the detector as TOML
Used by
piighost/ar — Argentina: phone, CPA postal code and the DNI identity number.
Related patterns
piighost/ar-dni — Argentine national identity document number, the DNI: eight digits, written solid or with a period after the second…
piighost/ar-phone — Argentine phone number, the +54 country code or the 0 trunk prefix then ten or eleven digits.
piighost/at-phone — Austrian phone number, the +43 country code or the 0 trunk prefix then six to thirteen digits, since Austrian…
piighost/au-phone — Australian phone number: the +61 or leading 0 prefix, a single area or service digit, then eight digits.
piighost/au-postal — Australian postal code, anchored on the state or territory abbreviation that precedes it in an address.
piighost/be-phone — Belgian phone number, the +32 country code or the 0 trunk prefix then eight or nine digits.
← piighost/ar-phone · All patterns in the catalogue · piighost/at →