am trying this code...
PHP Code:
if (in_array($foruminfo['forumid'], array(35,71,73,74,75,76,77,78,79,80,81,82,83))){
$this->post['message'] = ereg_replace('[A-Za-z0-9]([A-Za-z0-9._]*[A-Za-z0-9]|())@[A-Za-z0-9]([A-Za-z0-9.\-]*[A-Za-z0-9]|())\.[A-Za-z]+', ' - Email Address Removed for Security -', $this->post['message']);
}
i am trying to make it hide emails in nntp forums.
and it ain't working. It is not hiding any mail address. the coditional looks ok is it?