title: Java Regex to get the text from HTML anchor (<a>...</a>) tags
body: <p>I'm trying to get a text within a certain tag. So if I have:</p>
  
  <pre><code>&lt;a href="http://something.com"&gt;Found&lt;a/&gt;
  </code></pre>
  
  <p>I want to be able to retrieve the <code>Found</code> text. </p>
  
  <p>I'm trying to do it using regex. I am able to do it if the <code>&lt;a href="http://something.com&gt;</code> stays the same but it doesn't.</p>
  
  <p>So far I have this: </p>
  
  <pre><code>Pattern titleFinder = Pattern.compile( ".*[a-zA-Z0-9 ]* ([a-zA-Z0-9 ]*)&lt;/a&gt;.*" );
  </code></pre>
  
  <p>I think the last two parts - the <code>([a-zA-Z0-9 ]*)&lt;/a&gt;.*</code> - are ok but I don't know what to do for the first part.</p>