|No such thing as a small change|
Re: How to recognize url in text and convert to hyperlink, unless already in anchorby skx (Parson)
|on Oct 11, 2004 at 22:54 UTC||Need Help??|
All you need to do is look for the links as you are doing, but make sure that the links are preceeded, and optionally followed, by whitespace.
This will never by true for something inside an A tag.
(Yes the real solution is to use a package from CPAN for recognising URLS, and parsing, but this is a hack on your hack).
You could use the following: