title: python/beautifulsoup to find all <a href> with specific anchor text
body: <p>I am trying to use beautiful soup to parse html and find all href with a specific anchor tag</p>
  
  <pre><code>&lt;a href="http://example.com"&gt;TEXT&lt;/a&gt;
  &lt;a href="http://example.com/link"&gt;TEXT&lt;/a&gt;
  &lt;a href="http://example.com/page"&gt;TEXT&lt;/a&gt;
  </code></pre>
  
  <p>all the links I am looking for have the exact same anchor text, in this case TEXT. I am NOT looking for the word TEXT, I want to use the word TEXT to find all the different HREF</p>
  
  <p>edit:</p>
  
  <p>for clarification looking for something similar to using the class to parse for the links</p>
  
  <pre><code>&lt;a href="http://example.com" class="visible"&gt;TEXT&lt;/a&gt;
  &lt;a href="http://example.com/link" class="visible"&gt;TEXT&lt;/a&gt;
  &lt;a href="http://example.com/page" class="visible"&gt;TEXT&lt;/a&gt;
  </code></pre>
  
  <p>and then using</p>
  
  <pre><code>findAll('a', 'visible')
  </code></pre>
  
  <p>except the HTML I am parsing doesn't have a class but always the same anchor text</p>