Using jQuery to filter email addresses
<p>I just started out on jQuery and want to use it to solve this problem: I have a list of email addresses from different domains currently residing inside divs. Using <code>.each()</code>, want to loop through each email addresses and only pick out those that do not have the domain '@gmail.com'. In other words, <code>somebody@yahoo.com</code> gets appended to another div, file <code>somebody@gmail.com</code> does not. How can I do this?</p>

<p><strong>jQuery</strong></p>

<p><em>Currently the code simply grabs all emails but does no filtering</em></p>

<pre><code>$('.email_address').each(function() {
    $(this).html().appendTo('#filtered_email_address');   
});
</code></pre>
