Script that recognizes first sentence, put it inside a heading and the rest inside a paragraph
<p>Hey there, 
I have this code, i take a wordpress post content, put it inside a variable and than match the first sentence, put it inside a h2 heading and the rest inside a paragraph.</p>

<p>1.The problem is this... my script recognizes only . or ! or ? at the end of the first sentance. <strong>Can i make it recognize "..." suspension points?</strong></p>

<p>2.If in my wordpress post i have a text like this:</p>

<p>The first sentance! followed by some text</p>

<p><strong>than i hit enter</strong></p>

<p>continue with more text</p>

<p>My script shows  only "The first sentance! followed by some text" and nothing after the enter that i hit. Why? and ideeas? </p>

<p>Here is the code:</p>

<pre><code>ob_start();
the_content();
$old_content = ob_get_clean(); // I put wordpress inside a variable
$content = strip_tags($old_content); // I use strip tags

     preg_match('/(.*?[?.!])(.*)/', $content, $match); 
     $first_sentence = $match[1]; 
     $the_rest = $match[2];

     if ( $first_sentence != '' &amp;&amp; $the_rest != '' ):
             echo '&lt;h2&gt;'.$first_sentence.'&lt;/h2&gt;';
             echo '&lt;p&gt;'.$the_rest.'&lt;/p&gt;';
     else:
     echo '&lt;h2&gt;About me:&lt;/h2&gt;';
     endif;
</code></pre>
