~ selector to remove more than one element
<p>I'm trying to remove all specific element types AFTER the <code>&lt;h1&gt;Title&lt;/h1&gt;</code> element, but still keep some element types:</p>

<pre><code>    &lt;h1&gt;Keep&lt;/h1&gt;
    &lt;br /&gt;
    &lt;label&gt;Keep&lt;/label&gt;&lt;br /&gt;
    &lt;label&gt;Keep&lt;/label&gt;&lt;br /&gt;
    &lt;h1&gt;Title&lt;/h1&gt;
    &lt;br /&gt;
    &lt;label&gt;Remove&lt;/label&gt;&lt;br /&gt;
    &lt;input type="text" value="remove" /&gt;&lt;br /&gt;
    &lt;input type="text" value="remove" /&gt;&lt;br /&gt;
    &lt;label&gt;Remove&gt;&lt;/label&gt;&lt;br /&gt;
    &lt;input type="text" value="remove" /&gt;&lt;br /&gt;
    &lt;p&gt;Remove&lt;/p&gt;
    &lt;br /&gt;
    &lt;hr /&gt;Keep &lt;span&gt;Keep&lt;/span&gt;
</code></pre>

<p>My current code works perfectly:</p>

<pre><code>    $('h1:contains("Title")').prev('br').remove();
    $('h1:contains("Title") ~ br').remove();
    $('h1:contains("Title") ~ label').remove();
    $('h1:contains("Title") ~ input[type="text"]').remove();
    $('h1:contains("Title") ~ p').remove();
    $('h1:contains("Title")').remove();  
</code></pre>

<p>But I'm looking for a way to condense it in the most efficient way.</p>

<p>Using <code>$('h1:contains("Title") ~ br, label, input[type="text"], p)</code> does not seem to select those elements, instead, it selects all of those types of elements on the page.</p>

<p>Expected output:</p>

<pre><code>&lt;h1&gt;Title&lt;/h1&gt;
&lt;hr /&gt;Keep &lt;span&gt;Keep&lt;/span&gt;
</code></pre>
