<?php $txt = "22.300859182388606 -127.66133104264736 1528577039 22.30103320995603 -127.66234927624464 1528577041 22.300184137952726 -127.661628767848 1528577042 22.29943548054545 -127.66242001950741 1528577045"; $find = "22.300184137952726 -127.661628767848"; // third line Echo preg_replace("/". $find . ".*\n/", "", $txt);
You have javascript disabled. You will not be able to edit any code.