$string = decode("utf8", $input{'Strasse'}); if ($string !~ /^[öüÖÜßA-Za-z0-9\+\.\-\ ]+$/) { print DEBUG "MÖÖÖÖÖÖÖP111!!!!!!!!!!!!!!\n"; }