title: How to select all children except x from a HTML node
body: <p>I have a block of HTML from which I need to extract text:</p>
  
  <pre><code>&lt;div class="comment"&gt;
    &lt;span class="c00"&gt;
    TEXT
    &lt;p&gt;text&lt;/p&gt;
    &lt;p&gt;text&lt;/p&gt;
    &lt;div class="reply"&gt;reply&lt;/div&gt;
    &lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Note that 'TEXT' is a text node with no HTML tags within <code>span class="c00"</code>.</p>
  
  <p>How do I select all texts <em>without</em> <code>div class="reply"</code>?</p>
  
  <p>I tried the <code>:not</code> operator:</p>
  
  <pre><code>.c00:not(.reply)
  </code></pre>
  
  <p>but that did not work.</p>