title: Preg_split sentences inside an array keeping punctuation
body: <p>I have a text like this:
  <strong>"this is sentence 1. this is sentence 2. is this sentence 3? hello world!"</strong></p>
  
  <p>I use this code to split the text into sentences and insert them in an array.</p>
  
  <pre><code> $content = $page_data-&gt;post_content;
     $sentence = preg_split('/[!?\.]\s?/', $content);
     $sentence = array_map('trim', $sentence);
     echo $sentence[0]; - **which renders this is sentence 1 - without the "."**
     ....
  </code></pre>
  
  <p>How can I use this code and keep the punctuation? </p>
  
  <p>Ty:)</p>