title: Using C# regex to select text based on custom tags
body: <p>I have a string in c# containing some data i need to extract based on certain conditions.</p>
  
  <p>The string contains many tenders in the following form :</p>
  
  <pre><code>&lt;TENDER&gt; some words, don't know how many, may contain numbers and things like slashes (/) or whatever &lt;DESCRIPTION&gt; some more words and possibly other things like numbers or whatever describing the tender here &lt;/DESCRIPTION&gt; some more words and possibly numbers and weird things &lt;/TENDER&gt;
  </code></pre>
  
  <p></p>
  
  <p>This string doesn't contain any nested <code>&lt;TENDER&gt;</code> tags, its flat. The <code>&lt;DESCRIPTION&gt;</code> tags occur only once within the <code>&lt;TENDER&gt;</code> tags.</p>
  
  <p>I'm using : <code>&lt;TENDER&gt;(.+?)&lt;/TENDER&gt;</code> as the regex to split up the tenders and it works fine. If this is wrong or stupid and you know a better way to write this please let me know as I have discovered I suck at regex.</p>
  
  <p>My problem that I now need to only select a tender if its description contains any word in a list of keywords (lets say for now i want to select a tender only if it contains either "concrete" or"brick" in the description).</p>
  
  <p>So far the regex I have come up with looks like this, but I don't know what to put in the middle. Also I have a vague suspicion that this might return me some false positives.</p>
  
  <pre><code>&lt;TENDER&gt;(.+?)&lt;DESCRIPTION&gt;have no idea what to do here&lt;/DESCRIPTION&gt;(.+?)&lt;/TENDER&gt;
  </code></pre>
  
  <p>If any of you regex guru's could point me in the right direction I would be most appreciative.</p>