Thread
:
eregi_replace
View Single Post
#
4
21-04-2003, 15:51
Matt
Super modérateur
Join Date: 24-12-2002
Posts: 4,453
$string = eregi_replace("\[url([[:alnum:]]+)://([^<[
pace:]]*)([[:alnum:]#?/&=])\](.+?)\[\/url\]", "<a href=\"\\1://\\2\\3\">\\4</a>", $string);
Normalement ça devrait marcher, aux erreurs de syntaxe près
Matt
View Public Profile
Visit Matt's homepage!
Find all posts by Matt