title: Using regex in Classic ASP to get content of specific elements
body: <p>So I am loading some remote content and need to use regex to isolate the the content of some tags.</p>
  
  <pre><code>  set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") 
   xmlhttp.open "GET", url, false 
   xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" 
   xmlhttp.setRequestHeader "Accept-Language", "en-us" 
   xmlhttp.send "x=hello" 
   status = xmlhttp.status 
      if err.number &lt;&gt; 0 or status &lt;&gt; 200 then 
          if status = 404 then 
              Response.Write "[EFERROR]Page does not exist (404)." 
          elseif status &gt;= 401 and status &lt; 402 then 
              Response.Write "[EFERROR]Access denied (401)." 
          elseif status &gt;= 500 and status &lt;= 600 then 
              Response.Write "[EFERROR]500 Internal Server Error on remote site." 
          else 
              Response.write "[EFERROR]Server is down or does not exist." 
          end if 
      else  
   data =  xmlhttp.responseText 
  </code></pre>
  
  <p>I basically need to get the content of the <code>&lt;title&gt;Here is the title&lt;/title&gt;</code> also the meta description, keywords and some selected open graph meta data.</p>
  
  <p>And finally I need to get the content of the <strong>first</strong> <code>&lt;h1&gt;Heading&lt;/h1&gt;</code> and <code>&lt;p&gt;Paragraph&lt;/p&gt;</code></p>
  
  <p>How can I parse the html data to get these things? Should I use regex?</p>