Open Proteusiq opened 1 year ago
Lot of false positives
Mmh! It did not work. But on the right path
This one is good! Still has issues with "og" and "vej"
DK_ADDRESSES_RE = re.compile( r"(?:[A-ZÅÆØ]{1}?[a-zA-ZæøåÆØÅ./]{1,60}\s)+[0-9]{1,4}[A-Z,.]\s(?:\s?[0-9]{0,4}\s?[st|sal|th|tv|mf|DK|,.-]|)(?:\s?[st|sal|th|tv|mf|DK|,.-]*|)\s?[0-9]{4}\s\w{1,40}(?:\s[CNVSKØ]{,2}|)[.\s]" )
Do you know it’s Christmas 🎅?
Haha yes Merry Christmas 🎄 I need to catch up on my hours :)
Hours are the last thing you should think 🤔 off.
A working regex for Danish addresses