79164401

Date: 2024-11-06 21:54:54
Score: 2.5
Natty:
Report link

EDIT: original and not for stackoverflow simplified code to replace the string is:

$entry=preg_replace('/[^-a-z0-9_ßüÜöÖäÄßÜüÖöÄä_@:\.\, ]/i', '', $entry); 

and in my question i used this simplified code:

$entry = preg_replace( '/[^a-z0-9 ]/i', '', $entry );

That should do it, as gre_gor commented. So the problem is the not-simplified preg_replace above. Solved. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: babawo