| auch erlaubt
This commit is contained in:
Robert Köpferl 2021-01-21 20:16:00 +01:00
parent f02158b132
commit ad79d39699
2 changed files with 4 additions and 4 deletions

View file

@ -63,8 +63,8 @@
echo "Text: ".$len." von erlaubten ".TEXT_MAXLEN." Zeichen.";
$nlkorrekt = preg_replace('~\R~u', "\n", $text); // 2044 = /
$suchmuster = '~[^-a-zA-Z0-9äüöÄÜÖß\s,;\.:()°%&²³µ€ç£èé=^_&$§"!+*#\?\t\n\r]~m';
//$suchmuster = REGEX_FILTER;
//$suchmuster = '~[^-a-zA-Z0-9äüöÄÜÖß\s,;\.:()°|%&²³µ€ç£èé=^_&$§"!+*#\?\t\n\r]~m';
$suchmuster = REGEX_FILTER;
$ersetzung = '?';
$neuertext = preg_filter($suchmuster, $ersetzung, $nlkorrekt);