Perl help needed - ASAP

by Rob Eager <rad_dev(at)ihug.com.au>

 Date:  Mon, 26 Feb 2001 12:12:02 +1000
 To:  hwg-languages(at)mail.hwg.org
  todo: View Thread, Original
Hi all,

I'm trying to create a perl script that will check for a url anywhere in a 
bunch of text and create a link for it.  I can get the script to check for 
http:// and change that for <.a href=http:// but have run into problems 
with finding the end of the url and adding >link<./a> to the end.  I can do 
it for .com, .net and .org urls but the problem I'm really wishing to nail 
is what to do with urls that have an ending in for example - .com.au.  Any 
assistance or (if I'm so lucky), a regexp, that will do this would be most 
appreciated.

Thanks in advance.

Rob.

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA