Originally posted by tzapone
View Post
PHP Code:
$str = preg_replace(trim('/^\b'.$spam['text'].'\b$/i'), trim($spam['word']), $str);
since it asks to match from the beginning and end exactly. which should then match
wink Wink WiNk etc but not .wink.
Leave a comment: