Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
'#<ul class="ul">(.*)</ul>#isU'
$text = preg_replace('#\"(.*)\"#', '($1)', $text); $text = str_replace('/', ' - ', $text);
$html = file_get_contents(...); $html = str_replace([...], [...], $html); $html = preg_replace([...], [...], $html); file_put_contents('file.php', $html);