Ugh... I've got nuthin... Drats.
I'm sure it involves preg_match, but I can't wrap my mind around it right now...
PHP Code:
if($this->post['disemvowel'])
{
$this->post['pagetext'] = preg_replace('/[[\/\!]*?[^\[\]]*?]/si', '', $this->post['pagetext']);
$this->post['pagetext'] = preg_replace('/[aeiou]/i', '', $this->post['pagetext']);
$this->post['title'] = preg_replace('/[aeiou]/i', '', $this->post['title']);
$this->post['message'] = $this->bbcode_parser->parse($this->post['pagetext'], $this->forum['forumid'], $this->post['allowsmilie']);
}