title: how to alternate matches between positive lookbehind and ahead using regex?
body: <p>I have a regex: <code>(?&lt;=&gt;).*?(?=&lt;)</code> which properly matches text from my html. It's probably simplified query but doesn't matter. </p>
  
  <p>My question is: how to modify this query to match all except some word?</p>
  
  <p>What I'm trying to do is <code>(?&lt;=&gt;).*?(?!ICMJE)(?=&lt;)</code> to skip this word, but it doesn't work as many of my trials.</p>
  
  <p>The html snippet looks like: </p>
  
  <pre><code>&lt;th class="header3 banner_color" align="left" valign="top" width="15%"&gt;Intervention &lt;sup style="color:blue"&gt; ICMJE &lt;/sup&gt;
  &lt;/th&gt;
  </code></pre>
  
  <p>Finally match should return only one "Intervention" word. Please help.</p>