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

Must be left alone

Tags: dk, contact

Download the detector as TOML