preg_match_all("/.{900,}?\. /s", $string, $out, PREG_PATTERN_ORDER); list($out) = $out; print_r($out);