'/^[[:print:]]{10,}$/u' ); $text = 'äöüßÄÖÜßABCDEF /&%"!'; if (!preg_match($pruefung['Text'], $text)){ die($text . '#?????#'); } else { print 'Alles ok!'; } ?>