假设我们有一个 HTML 文件,如下所示:
</pre>
<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a>
<img src="/icons/unknown.gif" alt="[ ]"> <a href="AAAAAAA.jpg">AAAAAAA.jpg</a> 16-Jan-2008 01:27 827K
<img src="/icons/unknown.gif" alt="[ ]"> <a href="AAAAAAA.jpg.xml">AAAAAAA.jpg.xml</a> 16-Jan-2008 01:28 12K
<img src="/icons/image2.gif" alt="[IMG]"> <a href="BBBBB.AAAAAAAA.txt">BBBBB.AAAAAAAA.txt</a> 16-Jan-2008 15:01 1.6K
<img src="/icons/unknown.gif" alt="[ ]"> <a href="js421254.jpg">AAAAAAA.jpg</a> 16-Jan-2008 01:27 827K
<img src="/icons/unknown.gif" alt="[ ]"> <a href="js421254.jpg.xml">AAAAAAA.jpg.xml</a> 16-Jan-2008 01:28 12K
...
...
...
<img src="/icons/image2.gif" alt="[IMG]"> <a href="BBdBBB.AAAAsaAAAA.txt">BBBBB.AAAAAAAA.txt</a> 16-Jan-2008 15:01 1.6K
<img src="/icons/unknown.gif" alt="[ ]"> <a href="52542.jpg">AAAAAAA.jpg</a> 16-Jan-2008 01:27 827K
<img src="/icons/unknown.gif" alt="[ ]"> <a href="52542.jpg.xml">AAAAAAA.jpg.xml</a> 16-Jan-2008 01:28 12K
<hr></pre>
</body></html>
如何创建一个包含如下字符的新文本文件:
预期结果:
AAAAAAA.jpg
js421254.jpg
...
...
...
52542.jpg