preg_match('#resim.asp?haber_id=(.*?)"#si', $kaynak, $cikti);
echo 'resim.asp?haber_id='.$cikti[1];

işini görmedimi?