piighost/it-cap

Italian postal code (CAP): five digits, with no structural rule beyond the length, which makes it the loosest of the five-digit codes. It matches every French, German, Spanish and US postal code as well, so it belongs in an Italian detector of its own.

Label: IT_CAP

Pattern

(?<!\d)\d{5}(?!\d)

Must be caught

Must be left alone

Tags: it, location, contact

Download the detector as TOML