title: <ask> How to Separate paragraph to the sentence
body: <p>hello can anyone help me to solve this probelm how to solve with this prblem, I wanna make sentence from this paragraph, i use the point as a separator paragraphs, but I have problem if a paragraph has a nominal number has a point that should be one part of the sentence. can anyone help me???</p>
  
  <pre><code>//$paragraf1 = $paragraf;
  if(preg_match("/.*[0-9][.]/", $isi) != ""){
  $isi = preg_replace("/([.])/", "", $isi); 
  }
  else
  {
  return $isi;
  }
  
  this code to separator paragraf with point ==&gt; $paragraf = explode(".", $isi);
  if(strlen($paragraf[count($paragraf)-1]) &lt;= 1) unset($paragraf[count($paragraf)-1]);
  //1. Case Folding
  for($i=0; $i&lt;count($paragraf); $i++){
  //Merubah ke huruf kecil
  $paragraf[$i] = strtolower($paragraf[$i]);
  //menghilangkan tanda baca
  $paragraf[$i] = preg_replace("/[^A-Za-z0-9 ]/", "", $paragraf[$i]); 
  }
  //$_SESSION['paragraf'] = $paragraf;
  print_r($paragraf); echo "&lt;br/&gt;";
  exit();
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/6fT74.png" rel="nofollow">enter image description here</a></p>