Forum Moderators: coopster
Let's say that the text includes this:
www.devshed.com
[devshed.com...]
[devshed.com...]
How could I have a script to see this and add the <a hre f> tags to it?
i tried this, but i dont know why it doesnt work.
$message = preg_replace( "/www.+/i", "[<a href=\"\0\" target=\"_blank\">www</a>]", $message );