title: How do I capture words that are different from specific word using RegEx?
body: <p>I wanted to know, how do I capture any word which is not exactly "<strong><em>yellow</em></strong>". e.g.: "<em>red</em>".</p>
  
  <p>I have tried the following regex:</p>
  
  <pre><code>(?!(yellow))
  </code></pre>
  
  <p><a href="https://www.debuggex.com/r/3mgEsBz667vBweEh" rel="nofollow">Debuggex Demo</a></p>
  
  <p>... but I have two problems:</p>
  
  <ol>
  <li>It does not capture (creates a backreference) for matching expression (e.g.: "<em>red</em>")</li>
  <li>"<em>yellowwwwww</em>" does not match my regex, even though it is different from "<strong><em>yellow</em></strong>".</li>
  </ol>
  
  <p>Can you help me correcting my regex?
  Thanks!</p>