How would I select all anchor links in .main-nav that do not have the href set to #
<p>Right now I'm selecting all anchor links in .main-nav and then loggin them in the console. I'd like to exclude links with the href set to #. This is what I have so far, not sure how to exclude what I want...</p>

<pre><code>$(".main-nav a").each(function(){
        var navlinks =  $(this).attr("href");
        console.log(navlinks);
});
</code></pre>
