I have a function in which recognizes the url
<?php
function findReplaceURL($text){
$reg_exUrl = "/(http|https|ftp|ftps)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/";
if(preg_match($reg_exUrl, $text, $url)) {
return preg_replace($reg_...
asked by
10.11.2018 / 03:46