title: How To Find A Specific Text in an HTML formatted file
body: <p>So I am working with this URL (<a href="http://www.ancient-hebrew.org/m/dictionary/1000.html" rel="nofollow noreferrer">http://www.ancient-hebrew.org/m/dictionary/1000.html</a>). </p>
  
  <p>Below is my code.</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import re
  
  raw_html = open('/Users/gansaikhanshur/TESTING/webScraping/1000.html').read()
  # lxml is faster. If you don't have it, pip install lxml
  html = BeautifulSoup(raw_html, 'lxml')
  
  # outputs: "http://www.ancient-hebrew.org/files/heb-anc-sm-beyt.jpg"
  images = html.find_all('img', src=re.compile('.jpg$'))
  for image in images:
      image = re.sub(
          r"..\/..\/", r"http://www.ancient-hebrew.org/", image['src'])
      # print(image)
  
  # outputs: "unicode_hebrew_text"
  fonts = html.find_all('font', face="arial", size="+1")
  for f in fonts:
      f = f.string.strip()
      print(f)
  
  # outputs: "http://www.ancient-hebrew.org/m/dictionary/audio/998.mp3"
  mp3links = html.find_all('a', href=re.compile('.mp3$'))
  for mp3 in mp3links:
      mp3 = "http://www.ancient-hebrew.org/m/dictionary/" + \
          mp3['href'].replace("\t", '')
      # print(mp3)
  </code></pre>
  
  <p>I am trying to find the Image files, text files, and audio files. And my code currently finds everything except a text after <code>&lt;/Font&gt;</code>. For example I am trying to find <code>e-leph</code> and <code>eym</code> and not sure how to do that.</p>
  
  <pre><code>&lt;A Name=    505 &gt;&lt;/A&gt;   &lt;IMG SRC="../../files/heb-anc-sm-pey.jpg"&gt;&lt;IMG SRC="../../files/heb-anc-sm-lamed.jpg"&gt;&lt;IMG SRC="../../files/heb-anc-sm-aleph.jpg"&gt;   &lt;Font face="arial" size="+1"&gt;  &amp;#1488;&amp;#1462;&amp;#1500;&amp;#1462;&amp;#1507; &lt;/Font&gt;     e-leph  &lt;BR&gt;    Thousand    &lt;BR&gt;    Ten times one hundred in amount or number.  &lt;BR&gt;Strong's Number:    505 &lt;BR&gt;&lt;A HREF="audio/ 505 .mp3"&gt;&lt;IMG SRC="../../files/icon_audio.gif"  width="25" height="25" border="0"&gt;&lt;/A&gt;&lt;BR&gt; &lt;A HREF=../ahlb/aleph.html#505&gt;&lt;Font color=A50000&gt;&lt;B&gt;AHLB&lt;/B&gt;&lt;/Font&gt;&lt;/A&gt;    &lt;HR&gt;
      &lt;A Name=    517 &gt;&lt;/A&gt;   &lt;IMG SRC="../../files/heb-anc-sm-mem.jpg"&gt;&lt;IMG SRC="../../files/heb-anc-sm-aleph.jpg"&gt;   &lt;Font face="arial" size="+1"&gt;  &amp;#1488;&amp;#1461;&amp;#1501;   &lt;/Font&gt;     eym &lt;BR&gt;    Mother  &lt;BR&gt;    A female parent. Maternal tenderness or affection. One who fulfills the role of a mother.   &lt;BR&gt;Strong's Number:    517 &lt;BR&gt;&lt;A HREF="audio/ 517 .mp3"&gt;&lt;IMG SRC="../../files/icon_audio.gif"  width="25" height="25" border="0"&gt;&lt;/A&gt;&lt;BR&gt; &lt;A HREF=../ahlb/aleph.html#517&gt;&lt;Font color=A50000&gt;&lt;B&gt;AHLB&lt;/B&gt;&lt;/Font&gt;&lt;/A&gt;    &lt;HR&gt;
  </code></pre>
  
  <p>So in the end I would like to find all words that come after the unicode such as <code>e-leph</code> and <code>eym</code></p>