*/

    public String contentFilter(String detaileContent)

    {  //如果详细内容中包括(完)则删除其后面的内容

    if(detaileContent.contains("(完)")||detaileContent.contains("(完)"))

    {

    int index=detaileContent.lastIndexOf("(完)");

        if(index>=0)

        {

        detaileContent=detaileContent.substring(0, index);

        }

       

   

      //带[   ]的过滤掉  如

       String strRegex="\\[.*?\\]";          

       detaileContent=detaileContent.replaceAll(strRegex, "");

    //文章开头以“路透”两字开头的第一句话过滤掉,一般以“路透”开头,“-”结尾

    String strReg="路透.*?-";

    detaileContent=detaileContent.replaceFirst(strReg, "");  

   

    return detaileContent;

    }