title: RegEx for a specific word within HTML
body: <p>I am new to RegEx and haven't been able to figure out what is likely a simple problem.  I need to match a list of specific words within a block of HTML.</p>
  
  <p>For example, I have a list of words:</p>
  
  <ul>
  <li>ASDF</li>
  <li>ZXCV</li>
  <li>QWER</li>
  </ul>
  
  <p>And the following HTML:</p>
  
  <p><code>&lt;p&gt;ASDF jumped over the ZXCV of QWER.&lt;/p&gt;</code></p>
  
  <p>I am using <code>preg_replace_callback()</code> with array of RegEx to match, such as <code>/\bASDF\b/</code>, but that will only find <code>ASDF</code> surrounded by spaces, and doesn't take into account symbols, such as the beginning/end of tags or punctuation.</p>
  
  <p>I've been staring at RegEx sheets for hours, and am stuck on this one.  Any advice you could give me to get started would be most appreciated.  Thank you for your time.</p>