try this
$result = preg_replace('/<a href=\"(.*?)\">(.*?)<\/a>/', "\\2", $string);
1
solved Preg_Replace links in a text like facebook [closed]
try this
$result = preg_replace('/<a href=\"(.*?)\">(.*?)<\/a>/', "\\2", $string);
1
solved Preg_Replace links in a text like facebook [closed]