$content = 'this is a small text';
$content = preg_replace('/\s+?(\S+)?$/', '', substr($content, 0, 100)); // i substract the first 100 chars from the text - only whole words
echo $content;
Is there a way to substract the first sentence in the text and echo it? Lets say untill the text reachers a "." or a "?" or a "!" ?
And then echo the remaining part of the text?
Thank you