preg_replace("/(.+)\<!--start of right block--\>(.+)\<!--end of right block--\>(.+)/", "\2", $string);