title: Split a string of multiple sentences into single sentences and surround them with html tags
body: <p>I am a Java beginner and currently looking for a method to Split a String <code>message</code> into substrings, based on delimiter ( . ). Ideally I have single sentences then and I want to wrap each sentence in HTML tags, i. e. <code>&lt;p&gt;&lt;/p&gt;</code>. </p>
  
  <p>I tried the following with <code>BreakIterator</code> class:</p>
  
  <pre><code>    BreakIterator iterator = BreakIterator.getSentenceInstance(Locale.ENGLISH);
      List&lt;String&gt; sentences = new ArrayList&lt;String&gt;();
      iterator.setText(message);
      int start = iterator.first();
      String newMessage= "";
      for (int end = iterator.next();
           end != BreakIterator.DONE;
           start = end, end = iterator.next()) {
           newMessage= "&lt;p&gt;"+ message.substring(start,end) + "&lt;/p&gt;";
           sentences.add(newMessage);
      }
  </code></pre>
  
  <p>This gives back one sentence. I am stuck here, I also want to wrap each number in a each sentence.</p>
  
  <p>The String I have contains something like:</p>
  
  <pre><code>    String message = "Hello, John. My phone number is: 02365897458. 
                        Please call me tomorrow morning, at 8 am."
  </code></pre>
  
  <p>The output should be:</p>
  
  <pre><code>String newMessage = "&lt;p&gt;Hello, John.&lt;/p&gt;&lt;p&gt;My phone number is: 
                       &lt;number&gt;02365897458&lt;/number&gt;.
                      &lt;/p&gt;&lt;p&gt;Please call me tomorrow morning, at 8 am.&lt;/p&gt;"
  </code></pre>
  
  <p>Is there a possibility to achieve this?</p>