title: How to find figure captions in a PDF?
body: <p>I want to develop a Python script that can find all of the figure captions within a PDF. I was wondering if it is possible to gather all the figure captions and append them to an array as it is searching for new figure captions.</p>
  
  <p>I have tried searching for the word "Figure" and then grabbing the entire sentence that is present within it, but it is not efficient because it wouldn't find all of the sentences within the caption, and instead, only the sentence that is separated with a period.</p>
  
  <p><strong>EDIT</strong>
  The following is a sample PDF that I intend to be working with. As you see, the word Fig.1 is written right below the image.
  <a href="https://i.stack.imgur.com/TXSCM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TXSCM.png" alt="enter image description here"></a></p>
  
  <p><strong>NEW EDIT</strong>
  Here is the full HTML file that was converted with pdf2htmlEX:
  <a href="https://drive.google.com/open?id=1hYriVrTlwmxR35A2Jy7mKoO4ns2oWe3Z" rel="nofollow noreferrer">https://drive.google.com/open?id=1hYriVrTlwmxR35A2Jy7mKoO4ns2oWe3Z</a></p>