MySQL's LIKE in JQuery
<p>I'd like to filter several SPANs with the text they contain:</p>

<pre><code>$('spanFilter').filter(function(){
    var html = $(this).html();
    return //comparison html LIKE %asdf%
});
</code></pre>

<p>In the comparison, I'm trying to do something like MySQL's LIKE:</p>

<pre><code>field LIKE %asdf%
</code></pre>

<p>How can I achieve that?</p>
