Sorry just realised that my response was missing a line.

$str=ereg_replace(“[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]”,”<a href=\”\\0\” rel=\”nofollow\”>\\0</a>”,$str)

This is the one I use to put the no-follow link in.

Leave a comment