phpbar.de logo

Mailinglisten-Archive

[php] Re[2]: [php] RegEx aktiver Hyperlink '>'

[php] Re[2]: [php] RegEx aktiver Hyperlink '>'

Hannes Minimair hannes_(at)_xinfo.net
Thu, 4 Jan 2001 16:52:42 +0100


Hallo Volker,

Thursday, January 04, 2001, 3:53:26 PM, you wrote:

>> $text = eregi_replace( "([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])",
>> "<a href=\"\\1://\\2\\3\" target=\"_blank\">\\1://\\2\\3</a>", $text);

> pft, grausam

hast du eine andere Lösung?

- hannes -




php::bar PHP Wiki   -   Listenarchive