title: BeautifulSoup Issue: How to get the exact link by matching the exact tag content?
body: <p>I want to get the link that is after "S-1", instead of the one after "S-1/A". I tried ".find_all(lambda tag: tag.name == 'td' and tag.get()==['S-1'])", tried ".select('td.s-1')", and failed to get the link. I appreciate any help on it.</p>
  
  <p>Here is the relevant page source:</p>
  
  <pre><code>    &lt;tr&gt;
          &lt;td&gt;ADVANCE FINANCIAL BANCORP&lt;/td&gt;
          &lt;td&gt;S-1/A&lt;/td&gt;
          &lt;td&gt;10/31/1996&lt;/td&gt;
          &lt;td&gt;&lt;a id="two_column_main_content_rpt_filings_fil_view_0" href="/markets/ipos/filing.ashx?filingid=1567309" target="_blank"&gt;Filing&lt;/a&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  
      &lt;tr&gt;
          &lt;td&gt;ADVANCE FINANCIAL BANCORP&lt;/td&gt;
          &lt;td&gt;S-1&lt;/td&gt;
          &lt;td&gt;9/27/1996&lt;/td&gt;
          &lt;td&gt;&lt;a id="two_column_main_content_rpt_filings_fil_view_1" href="/markets/ipos/filing.ashx?filingid=921318" target="_blank"&gt;Filing&lt;/a&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  </code></pre>
  
  <p>Here is the screenshot of relevant page source: </p>
  
  <p><img src="https://i.stack.imgur.com/Ld3DI.png" alt="Relevant Page Source"></p>
  
  <p>Here is the link of the full page source:</p>
  
  <p><a href="https://www.nasdaq.com/markets/ipos/company/advance-financial-bancorp-5492-13046?tab=financials" rel="nofollow noreferrer">https://www.nasdaq.com/markets/ipos/company/advance-financial-bancorp-5492-13046?tab=financials</a></p>