[更新日:2018/11/17(土) 22:10:25]
 投稿者:擬古猫
  ∧ ∧
 /(´ー`)ノ<BBSTREE.PHPの個別NGとツリーの文末に間隔をあける方法
  ̄ ̄ ̄ ̄ ̄|
 
                 # 参考の消去
                 $treemsg['MSG'] = preg_replace("/<a href=[^>]+>参考:[^<]+<\/a>/i", "", $treemsg['MSG'], 1);
 
                 # 引用の消去
                 $treemsg['MSG'] = preg_replace("/(^|\r)&gt;[^\r]*/", "", $treemsg['MSG']);
                 $treemsg['MSG'] = preg_replace("/^\r+/", "", $treemsg['MSG']);
                 $treemsg['MSG'] = rtrim($treemsg['MSG']);
 
                 #20181117 擬古猫 個別NG
                 $treemsg['MSG']  = preg_replace("/(.+)/","<span class= \"ngline\">$1</span>\r", $treemsg['MSG']);
 
 いつもありがとうございます(;´Д`)使わせていただきます
   

戻る