title: Novice Python/Regex: pull strings between <a> tags using regex
body: <p>Need to pull strings between href attribute tags in Python using the re module.</p>
  
  <p>I've tried numerous patterns such as:</p>
  
  <pre><code>patFinderLink = re.compile('\&gt;"(CVE.*)"\&lt;\/a&gt;')
  </code></pre>
  
  <p>Example: I need to pull what is between the tags (in this case "<strong>CVE-2010-3718</strong>") from:</p>
  
  <pre><code>&lt;pre&gt;
  &lt;a href="https://www.redhat.com/security/data/cve/CVE-2010-3718.html"&gt;CVE-2010-3718&lt;/a&gt;
  &lt;/pre&gt;
  </code></pre>
  
  <p>What am I doing wrong here? Any advice is greatly appreciated. Thank you in advance.</p>
  
  <p>Sun</p>