- Code: Select all
$ret = preg_replace("#(^|[\n ])((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"http://\\2\" target=\"_blank\">\\2</a>", $ret);
And replace with :
- Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$ret = preg_replace("#(^|[\n ])((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"http://\\2\" rel=\"nofollow\" target=\"_blank\">\\2</a>", $ret);
// www.phpBB-SEO.com SEO TOOLKIT END

English |
French





