Примерно так: $comment_raw = $this->request->post('text'); $comment->text = str_replace('.ly', '', $comment_raw); $comment->text = str_replace('SEO ', '', $comment_raw); ... $comment->text = str_replace('href', '', $comment_raw); $comment->text = $comment_raw; Либо, если хотите изменять текст более ...