Delete rows from a text file with php : <p>I have a text file as follows</p>

<pre><code>href='https://www.example.com/tv/xxxxxxxx/playlist.m3u8'&gt;TV 1
href='https://www.example.com/tv/xxxxxxxx/playlist.m3u8'&gt;TV 2
href='https://www.example.com/tv/xxxxxxxx/playlist.m3u8'&gt;TV 3
href='https://www.example.com/tv/xxxxxxxx/playlist.m3u8'&gt;TV 4
href='https://www.example.com/tv/xxxxxxxx/playlist.m3u8'&gt;TV 5
href='https://www.example.com/playlist/xxxxxxxx/playvod/vybz9h.mp4'&gt;Film 1
href='https://www.example.com/playlist/xxxxxxxx/playvod/tq5mzt.mp4'&gt;Film 2
href='https://www.example.com/playlist/xxxxxxxx/playvod/xegtnw.mp4'&gt;Film 3
href='https://www.example.com/playlist/xxxxxxxx/playvod/16c9os.mp4'&gt;Film 4
href='https://www.example.com/playlist/xxxxxxxx/playvod/r25dwc.mp4'&gt;Film 5
</code></pre>

<p>being a very long text file, I'd like to eliminate the only lines of M3U8 connections and maintain only those with links to the films.
It's possible to do it?</p>
