original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Parses out misc tags such as horizontal rule and a scrolling box
  
  @param string $str
  @return string $str;
docstring_tokens: Parses out misc tags such as horizontal rule and a scrolling box