BT = bt1.Replace(bt3 , "");//删除没有代码(替换功能)

BT = bt1.Replace(bt3 , "");//删除没有代码(替换功能) 

bt3是一个字符串变量. 不能使用正则.

要从bt1中查找字符串bt3 用空内容替换,结果赋给BT

原文地址:https://www.cnblogs.com/liehuo123/p/5562286.html