// [HIDE] $bbcodes['custom']['find']['[hide]'] = '#\[hide\](<br>|<br />|\r\n|\n|\r)??(.*)(<br>|<br />|\r\n|\n|\r)??\[/hide\]#esiU'; $bbcodes['custom']['replace']['[hide]'] = "handle_bbcode_hide('\\2')"; $bbcodes['custom']['recurse']['hide'][0] = array('handler' => 'handle_bbcode_hide');