public static function miscTags($str)
    {

        ##hortizontal row
        $str =  str_replace('[hr]', '<hr style="clear:both;" />', $str);

        ##line break
        $str =  str_replace('[br]', '<br />', $str);

        ##puttext inside a scrolling box
        $str = preg_replace( "~\[box\]\n?(.*?)\n?\[\/box\]\n{1,}?~is", "<div class=\"box\">\\1</div>", $str);

        return $str;
    }