Using regex,
$text='{page:header}
this text should not be removed
{menu_list:menu_list_2}
this text should not be removed
{page:footer}'
$data = preg_replace("/\{[^}]+\}/", "", $text);
print_r($data); // answer will be as follow
this text should not be removed
this text should not be removed