My HTML content is as follows:
<html>
<head><title>Index </title></head>
<body bgcolor="white">
<h1>Index of /Test/</h1><hr><pre><a href="../">../</a>
<a href="1.0/">1.0/</a> 17-Mar-2018 17:36 -
<a href="1.1/">1.1/</a> 19-Jun-2018 19:22 -
<a href="1.2/">1.2/</a> 22-Sep-2018 00:18 -
<a href="documents/">documents/</a> 25-Apr-2018 23:40 -
<a href="samples">samples</a> 03-Sep-2018 16:00 403699
</pre><hr></body>
</html>
I get the above HTML output by making a request to the server.
From the HTML output, I want to my final output to be as follows:
1.0
1.1
1.2
documents
samples
How can I get that the above output using bash script?