title: Get text inside HTML comment tag?
body: <p>I have the following HTML:</p>
  <pre><code>&lt;!--
  &lt;option value=&quot;HVAC&quot;&gt;HVAC&lt;/option&gt;
  &lt;option value=&quot;Cooling&quot;&gt;|---Cooling&lt;/option&gt;
  &lt;option value=&quot;Heating&quot;&gt;|---Heating&lt;/option&gt;
  --&gt;
  ....
  </code></pre>
  <p>I fetch this file dynamically using jQuery's get method and store it in a string variable named <code>load_types</code>.</p>
  <p>How can I strip the HTML comment tags and everything outside of them? I only want the inside HTML:</p>
  <pre><code>&lt;option value=&quot;HVAC&quot;&gt;HVAC&lt;/option&gt;
  &lt;option value=&quot;Cooling&quot;&gt;|---Cooling&lt;/option&gt;
  &lt;option value=&quot;Heating&quot;&gt;|---Heating&lt;/option&gt;
  </code></pre>
  <p>I tried to use <a href="https://stackoverflow.com/questions/1623734/selecting-html-comments-with-jquery">the solutions here</a> but nothing worked properly--I just get <code>null</code> as a match.</p>
  <p>Thanks for the help!</p>