piighost/dk-phone
Danish phone number: eight digits opening on a 2 through 9, with the +45 country code optional. Denmark has no trunk prefix and no area codes, so the number is the same eight digits wherever it is dialled from.
Label: DK_PHONE
Pattern (?<![\w+])(?:\+45[\s.-]?)?[2-9]\d(?:[\s.-]?\d){6}(?!\w)(?![\s.-]?\d)
Must be caught Ring til +45 33 14 41 41 i dag. → +45 33 14 41 41Mit nummer er 20 12 34 56 hvis du vil. → 20 12 34 56
Must be left alone Lokalnummer 1234Ordre 10 12 34 56 er sendt
Tags: dk, contact
Download the detector as TOML
Used by
piighost/dk — Denmark: phone and the CPR number, which doubles as the health identifier.
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/dk-default · All patterns in the catalogue · piighost/driving-licences →