piighost/br-cep
Brazilian postal code (CEP), five digits, a hyphen, then three. The hyphen makes it distinctive: unlike the five-digit European codes it does not collide with anything else in the registry.
Label: BR_CEP
Pattern (?<!\d)\d{5}-\d{3}(?!\d)
Must be caught Avenida Paulista, 01310-100 em Sao Paulo. → 01310-100CEP 20040-020 no Rio de Janeiro. → 20040-020
Must be left alone
Tags: br, location, contact
Download the detector as TOML
Used by
piighost/br — Brazil: phone, CEP postal code, the CPF for a person, the CNPJ for a company and the CNS health card number.
Related patterns
piighost/ar-phone — Argentine phone number, the +54 country code or the 0 trunk prefix then ten or eleven digits.
piighost/ar-postal — Argentine CPA postal code: a province letter, four digits for the town, then three letters for the block side.
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/br · All patterns in the catalogue · piighost/br-cnpj →