title: how to filter anchor tags that were received from the jquery .each() function
body: <p>I have a div that contains allot of anchor tags. </p>
  
  <p>Some of them have a img as the in side of the tag.</p>
  
  <p>I need to get all of the "a" that have regular text in them not a image tag or any other HTML tag.</p>
  
  <p>How can this be done with jquery.</p>
  
  <p>To get them all i just do:</p>
  
  <pre><code>$(element).find('a').each(function () {
   ...........
  });
  </code></pre>
  
  <p>But how do i filter them using the <code>.text()</code> function or any thing else.</p>
  
  <p>Thank you</p>