解决方案 »

  1.   

    对于每一行,获取 </div><div class="pubInfo c_tx5">的开始下标,据此下标截取之前的内容,替换当前行的所有内容按照上述方法搞个循环处理所有行~
      

  2.   

    http://www.blogjava.net/AndyZhang/archive/2012/04/25/376614.html希望对你有帮助
      

  3.   

    http://www.blogjava.net/AndyZhang/archive/2012/04/25/376614.html
      

  4.   

    获取</div><div class="pubInfo c_tx5">所在位置,然后substring截取这个位置之前的内容
      

  5.   

     string st = richTextBox2.Lines[a].Substring(0, richTextBox2.Lines[a].LastIndexOf("</div><div class=\"pubInfo c_tx5\">"));