Hi,

Wondering if anyone has code or suggestions to change all the URLs in a long
text string into HTML links i.e. change [url]http://www.tsongas.net[/url] to <a
href="http://www.tsongas.net">http://www.tsongas.net</a>. Of course a regular
expression could be used to find URLs, but handling multiple URLs in the string
could get tricky.

My goal is to automatically generate HTML from plain text for sending
multi-part emails as both text and HTML. I'm already replacing all the line
breaks with <br> tags.

Thanks!