тоесть как то так
$content = preg_replace('#<a href="index.php?mod=(.+?)\&act=(.+?)"', "'<a href=\"\\1\\2", $content);но ето неправильная бадяга
тоесть как то так
$content = preg_replace('#<a href="index.php?mod=(.+?)\&act=(.+?)"', "'<a href=\"\\1\\2", $content);