PHP automatically identifies links in text
if (! Preg_match (' / (http|www\.|@) /i', $str) {return $str; .quot; \\1http://www..Quot; $l);
$l = preg_replace (.#91; \t.#93; \t.#93;) ftp\./i.quot; Lace (.Quot; / (https:\/\/.#91; ^)!.#93;) /i.quot;.Quot;.Lt; a href=\.quot; \\1\.quot;.Gt; \\1.lt. _.#93; (\..#91; _a-z0-9-.#93;.#91; a-z0-9-.#93; \..#91; a-z0-9-.#93;)) /i.quot;.Quot;.Lt; a href=\.quot.