Remove column and its value from string
<p>I have three strings like</p>

<pre><code>string a = "[ERROR] = any thing And [ID] &gt; 20 And [NAME] like Varun";
string b = "[AGE] &lt; 60 Or [ERROR] like Exception And [ID] &gt; 20 And [NAME] like Varun And [ERROR] = any thing ";
string c = "[ID] &gt; 20 And`enter code here` [NAME] like Varun And [ERROR] = any thing";
</code></pre>

<p>I want to remove string that start from [ERROR] to next operator like And/Or.....</p>

<p>I want Answer like</p>

<pre><code>string a = "[ID] &gt; 20 And [NAME] like Varun";
string b = "[AGE] &lt; 60 And [ID] &gt; 20 And [NAME] like Varun";
string c = "[ID] &gt; 20 And [NAME] like Varun";
</code></pre>

<p>How can I remove..???</p>
