title: using InStr to search for quotes, spaces, colons, etc
body: <p>this is a continuation of this question
  <a href="https://stackoverflow.com/questions/52618357/scrape-data-from-web-page-source-where-url-doesnt-change">scrape data from web page source where url doesn&#39;t change</a></p>
  
  <p>i'm now trying to search the scraped data and i'm not able to code it properly, it's not finding the text below</p>
  
  <p><strong><code>&lt;span id="middleContent_lbName_county" style="font-weight:bold;"&gt;</code></strong> </p>
  
  <p>i tried doing it like this</p>
  
  <pre><code>InStr(.Document.Body.innerHTML,"&lt;span id=" &amp; Chr(34) &amp; "middleContent_lbName_county" &amp; Chr(34) &amp; " style=" &amp; Chr(34) &amp; "font-weight" &amp; Chr(58) &amp; "bold" &amp; Chr(59) &amp; "")
  </code></pre>
  
  <p>and i'm getting 0 in return.</p>
  
  <p>this works</p>
  
  <pre><code>InStr(.Document.Body.innerHTML, "&lt;span id=" &amp; Chr(34) &amp; "middleContent_lbName_county")
  </code></pre>
  
  <p>but it's not unique enough and i'm getting way too many results.</p>