Handy regexp for building this page from a list of links: Find: ^(https?://)([^/\r]+)(.*)$ Replace: \t<li><a href="\1\2\3" target="\2">\1\2\3</a></li>
^(https?://)([^/\r]+)(.*)$
\t<li><a href="\1\2\3" target="\2">\1\2\3</a></li>