Nasıl bağlantıyı kaldırmak ve metin ile kalabilir?
text text text. <br><a href='http://www.example.com' target='_blank' title='title' style='text-decoration:none;'>name</a>
gibi bu:
text text text. <br>
ben hala bir sorun var .....
$text = file_get_contents('http://www.example.com/file.php?id=name');
echo preg_replace('#<a.*?>.*?</a>#i', '', $text)
bu url (link ile) bu metin oldu ...
Bu kod çalışmıyor ...
Sorun ne?
Birisi bana yardımcı olabilir misiniz?