jQuery selector question. Select all nodes that do NOT START with (string)
<p>Trying to assemble a rather complex jQuery selector here, and having trouble.</p>

<p>Essentially, I'm trying to grab all anchors that that 1) do not have a "rel" of "facebox", <strike>and</strike> <strong>OR</strong> 2) do not have an "href" that begins with "mailto".</p>

<p>This is what I've been trying to do:</p>

<pre><code>$('a[rel!=facebox], a[href!^="mailto"]')
</code></pre>

<p>Small variations of this don't seem to work. Is there some better way of going about this?</p>

<p>These selectors seem to work individually, but not when sitting consecutively in the same selector:</p>

<pre><code>$('a:not([rel=facebox]), a:not([href^=mailto])')
</code></pre>

<p><strong>Final solution:</strong> We have a winner!</p>

<pre><code>$('a:not([rel=facebox],[href^=mailto])')
</code></pre>
