A that makes more sense!! Am trying everyone's suggestions now...
Justin French
on 27/03/03 3:32 AM, Marek Kilimajer ([EMAIL PROTECTED]) wrote:
> Forgot to mention this is to be run after
> eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])", " href=\"\\1://\\2\\3\" {$t}\">\
Forgot to mention this is to be run after
eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])", "\\1://\\2\\3", $str);
as it only replaces long strings within tags
Marek Kilimajer wrote:
$str = preg_replace('|(]*>[^<]{55})[^<]+()|','$1...$2', $str);
Justin French wrote:
Hi, I have
$str = preg_replace('|(]*>[^<]{55})[^<]+()|','$1...$2', $str);
Justin French wrote:
Hi, I have this ereg to turn URLs into links:
eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])", "\\1://\\2\\3", $str);
... found it in the manual i think, or maybe on weberdev.com examples
Anyh
: php
Subject: [PHP] substr() on part an ereg() capture
Hi, I have this ereg to turn URLs into links:
eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])", "\\1://\\2\\3", $str);
... found it in the manual i think, or maybe on weberdev.com examples
Anyhoo,
: Tuesday, March 25, 2003 1:24 PM
Subject: [PHP] substr() on part an ereg() capture
> Hi, I have this ereg to turn URLs into links:
>
> eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])", " href=\"\\1://\\2\\3\" {$t}\">\\1://\\2\\3&qu
Hi, I have this ereg to turn URLs into links:
eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])", "\\1://\\2\\3", $str);
... found it in the manual i think, or maybe on weberdev.com examples
Anyhoo, it places the whole link in between the and , which is
fine for short links, bu
6 matches
Mail list logo