title: Regex - how to find HTML <a> tag content by it's class?
body: <p>I need to get the content of an <code>&lt;a&gt;</code> html tag by a certain css class name.
  The css class that I need find is: whtbigheader</p>
  
  <p>What I done so far is this:</p>
  
  <pre><code>    content = "&lt;A HREF='/articles/0,7340,L-4664450,00.html' CLASS='whtbigheader' style='color:#FFFFFF;' HM=1&gt;need to get this value&lt;/A&gt;";
  
      Pattern p = Pattern.compile("&lt;A.+?class\\s*?=[whtbigheader]['\"]?([^ '\"]+).*?&gt;(.*?)&lt;/A&gt;");
      Matcher m = p.matcher(content);
  
      if (m.find()) {
          System.out.println("found");
          System.out.println(m.group(1));
      }
      else {
          System.out.println("not found");
      }
  </code></pre>
  
  <p>The expected value is: <strong>need to get this value</strong> </p>
  
  <p><strong>More info:</strong></p>
  
  <ul>
  <li>Can use only regex </li>
  <li>The content is an whole HTML String</li>
  </ul>
  
  <p>Any ideas how to find it?</p>