title: How to extract text from html in Python with BeautifulSoup4
body: <p>I am trying to extract its text i.e only the filename from the below html tags</p>
  <p>So in the end I would like to have output as below-</p>
  <pre><code>BeforeStructure.PNG
  AfterStructure.PNG
  </code></pre>
  <p>Can you please guide how to I extract only the file name from the below code, Thanks!</p>
  <pre><code>&lt;div&gt;&lt;br&gt; &lt;/div&gt;&lt;div&gt;&lt;img src=\&quot;https://azure.com/8dd91aab-0dce-41e2-95d4-eb69e06c68fe/_apis/wit/attachments/c4e5aab1-0877-44ea-ad2d-2c614ac56984?fileName=BeforeStructure.PNG\&quot; alt=BeforeStructure.PNG&gt;&lt;br&gt; &lt;/div&gt;&lt;div&gt;&lt;br&gt; &lt;/div&gt;&lt;div&gt;&lt;img src=\&quot;https://azure.com/8dd91aab-0dce-41e2-95d4-eb69e06c68fe/_apis/wit/attachments/af842f67-1a3d-48dc-8c8b-396a28b306ce?fileName=AfterStructure.PNG\&quot; alt=AfterStructure.PNG&gt;&lt;br&gt; &lt;/div&gt;&quot;
  </code></pre>