[TxMt] HTML autoconversion of urls to hyperlinks

Jon Ippolito ron_elicit at yahoo.com
Tue Sep 4 02:09:00 UTC 2007


Hi all,

The Hyperlink Helper bundle is fun, but it would be more useful for me to have a
macro that would auto-convert all urls in a text document to active
hyperlinks--eg, replacing:

Please visit my home page at http://mysite.net/home.html today!

with

Please visit my home page at <a
href="http://mysite.net/home.html">mysite.net/home.html</a> today!

or some variation on this.

I could write this macro as a RegExp global replace, but I was thinking someone
else may have already scripted it. If you know of a pre-existing macro, please
let me know.

BTW this forum has been very helpful and quick to respond in the past--thanks
for the support!

jon




More information about the textmate mailing list