Here is a design though: For example is I put a link such as
http://example.com
in textarea. How do I get PHP t
This worked for me (turned one of the answers into a PHP function)
function make_urls_from_text ($text){ return preg_replace('/(http[s]{0,1}\:\/\/\S{4,})\s{0,}/ims', '$1 ', $text); }