Taltos, Вот встав код!
$file=preg_replace('|<div><a href="index.php(.*?)Jimm</a></div>|is','',$file);