/ Published in: PHP
Expand |
Embed | Plain Text
function replace_plain_text_link($plain_text) { '/(?<!S)((http(s?):\/\/)|(www.))+([\w.1-9\&=#?\-~%;\/]+)/', '<a href="http$3://$4$5">http$3://$4$5</a>', $plain_text); return ($url_html); } http://www.smjdesign.com hi this is dummy text after")
You need to login to post a comment.
