piighost/de-phone
German phone number, the +49 or 0 prefix then an area code and a subscriber number, separated by a space, a slash or a dash as German writing does. A lookbehind replaces the word boundary, which does not anchor before a + sign.
Label: DE_PHONE
Pattern (?<![\w+])(?:\+49|0)[\s/-]?\d{2,5}[\s/-]?\d{3,10}(?!\d)
Must be caught Rufen Sie +49 30 1234567 an. → +49 30 1234567Zentrale 0221/1234567 erreichbar. → 0221/1234567
Must be left alone Nummer 1234567 fehltModell C+49 30 1234567
Tags: de, contact
Download the detector as TOML
Used by
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/de-passport · All patterns in the catalogue · piighost/de-zip →