134  >   投稿者:擬古猫   投稿日時:2018/11/20(火) 16:34:57              
> >  ∧ ∧
> > /(´ー`)ノ<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']);
> いつもありがとうございます(;´Д`)使わせていただきます

 ∧ ∧
/(´ー`)ノ<よろしくどうぞ〜
 ̄ ̄ ̄ ̄ ̄|

参考:2018/11/17(土) 22:10:25

フォロー記事投稿(返信) ←戻る