//处理body字段自动摘要、自动提取缩略图等 $body = AnalyseHtmlBody($body,$description,$litpic,$keywords,'htmltext'); $repg = '/(?<=\" )style=\\\".*?\\\"/'; $body = preg_replace($repg, "",$body);