lewiswalsh on 10/25/11
Last Edited at 10/25/11 10:30pm
preg_replace('/(https?:\/\/\S+)/', '<a href="\1">\1</a>', $string);
Report this snippet Tweet
Comment:
You need to login to post a comment.