I have a bunch of 40k lines HTML files and I need to extract only sentences from it, so I want to automate this process. Text is located inside such blocks
<div class="text">...</div>
How do I search for these blocks and extract data between them to another file?