Forum Home
Press F1
 
Thread ID: 101428 2009-07-15 01:57:00 Text to HTML converter? Billy (6701) Press F1
Post ID Timestamp Content User
791690 2009-07-15 01:57:00 Hi
Anyone know of any free software/shareware that will AUTOMATICALLY convert a list of 150 URL’s saved as text (using Notebook) into a list of HTML clickable links.

I don’t want to use MS Office!

Thanks in advance.
Billy (6701)
791691 2009-07-15 03:43:00 www.cybermatrix.com

That what you after?
Blam (54)
791692 2009-07-16 01:32:00 Another way of doing it is to download a more advanced editor such as Notepad++ (sourceforge.net), and do a search/replace job.

Simply open your text file in Notepad++ and do the following.

Assuming your text file is in the form


http://example.com
http://example.org
http://www.example.co.nz
http://example.net


Type (or copy & paste) the following at the beginning of the file


<html>
<head>
<title>title of page if you wish</title>
</head>
<body>


and at the end of the file..


</body>
</html>


In the menu, go Search > Replace...

In the "Find What" field, put

(http://.*)

In the replace field, put

<a href="\1">\1</a><br>

Click the Regular Expression radio button at the bottom of the dialog box, and click the Replace All button.

Save the file as filename.html and you're done.

EDIT: Ok, so it isn't quite automatic, but it is far less tedious then manually converting each URL to a link...
Sherman (9181)
791693 2009-07-16 02:27:00 Paste them in this forum, or email them to your self. Rob99 (151)
1