title: How to match a negated word in a regex
body: <p>for better or worse I need to do the following using a regex: </p>
  
  <p>match everything between an opening and closing textarea html tag: </p>
  
  <pre><code>Other HTML 
  &lt;textarea id = foo class = 'bar'&gt; 
  
  some text which can include brackets&gt; like that 
  
  &lt;thi is an opening bracket &gt; that was a closing one 
  
  &lt;/textarea&gt;
  Other HTML
  </code></pre>
  
  <p>The regex I've got so far is the following except it doesn't go all the way to the ending textarea </p>
  
  <pre><code>&lt;textarea id = foo[^&gt;]+&gt;[^&gt;]+&gt;
  </code></pre>
  
  <p>We're using a proprietary system and we don't have any alternatives. Thanks in advance for your help.</p>