piighost/it-phone
Italian phone number: an optional +39, then a mobile prefix starting 3 or a landline area code starting 0, then the subscriber digits. Italy keeps the leading 0 when dialling, unlike most of Europe.
Label: IT_PHONE
Pattern (?<![\w+])(?:\+39[\s.-]?)?(?:3\d{2}|0\d{1,3})[\s.-]?\d{5,8}(?!\w)
Must be caught Chiama il +39 06 12345678 in mattinata. → +39 06 12345678Cellulare 331 1234567 sempre attivo. → 331 1234567
Must be left alone Chiama il 12345Numero 991 1234567
Tags: it, contact
Download the detector as TOML
Used by
piighost/it — Italy: phone, postal code, the codice fiscale, the VAT number and the 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/it-passport · All patterns in the catalogue · piighost/it-tessera-sanitaria →