salve io vorrei con il preg_replace sostituire tutti i link testuali presenti in un testo lungo scritti in questo tipo www.html.it o http://www.html.it o http://html.it in link reali di questo tipo www.html.it
come posso fare?