s/^\ \ (?)\ \ <a href/<span class="hidetext index" title="Searchable gopher index or gopher form"> (?) <\/span><a href/
s/^(3270)\ <a href/<span class="hidetext tel" title="Telnet 3270 session">(3270) <\/span><a href/
s/^\ (BIN)\ <a href/<span class="hidetext bin" title="Binary file"> (BIN) <\/span><a href/
s/^\ (CSO)\ <a href/<span class="hidetext index" title="CSO phonebook and email address directory"> (CSO) <\/span><a href/
s/^\ (DIR)\ <a href/<span class="hidetext dir" title="Gopher index or directory"> (DIR) <\/span><a href/
s/^(FILE)\ <a href/<span class="hidetext file" title="Text document">(FILE) <\/span><a href/
s/^(HTML)\ <a href/<span class="hidetext html" title="HTML document or web link">(HTML) <\/span><a href/
s/^(MIME)\ <a href/<span class="hidetext mime" title="MIME formatted email">(MIME) <\/span><a href/
s/^\ (HQX)\ <a href/<span class="hidetext hqx" title="BinHex 4 encoded file"> (HQX) <\/span><a href/
s/^\ (IMG)\ <a href/<span class="hidetext img" title="Image file"> (IMG) <\/span><a href/
s/^\ (MOV)\ <a href/<span class="hidetext mov" title="Video file"> (MOV) <\/span><a href/
s/^\ (PDF)\ <a href/<span class="hidetext pdf" title="ISO 32000 (PDF) document"> (PDF) <\/span><a href/
s/^\ (SND)\ <a href/<span class="hidetext snd" title="Sound file"> (SND) <\/span><a href/
s/^\ (TEL)\ <a href/<span class="hidetext tel" title="Telnet session"> (TEL) <\/span><a href/
s/^(UNKN)\ <a href/<span class="hidetext unkn" title="Unknown">(UNKN) <\/span><a href/
s/^\ (UUE)\ <a href/<span class="hidetext uue" title="uuencoded file"> (UUE) <\/span><a href/
s/^\ \ \ \ \ \ \ /<span class="hidetext info" title="informational text"> <\/span>/