Thread
:
eregi_replace
View Single Post
#
11
21-04-2003, 19:17
Matt
Super modérateur
Join Date: 24-12-2002
Posts: 4,453
Au cas où tu aurais des problèmes :
$string = eregi_replace("\[url=([[:alnum:]]+)://([^<[
pace:]]*)([[:alnum:]#?/&=])\](.+)\[\/url\]", "<a href=\"\\1://\\2\\3\" target=\"_blank\" class=\"a\">\\4</a>", $string);
Matt
View Public Profile
Visit Matt's homepage!
Find all posts by Matt