RE: [PHP-WIN] find URL in text and make a link

2001-04-23 Thread Ben Cairns
$YOUR-STRING= eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])","\\1://\\2\\3", $YOUR-STRING); hth -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense of the INFORMAT

[PHP-WIN] find URL in text and make a link

2001-04-23 Thread afan
Hi to all, my problem is how to find / recognize in text URL (e.g. http://sprout.net) (address will have always "http://"; part) and make a link, instead doing it "by hand"... Thanks for any help afan