title: Regex for start and end of sentence
body: <p>Is there a way to match <strong>start</strong> and <strong>end</strong> of sentence in Java? The easiest case is ending with simple (.) dot. In some other cases it could end with colum (:) or a shortcut ended with colum (.:).</p>
  <p>For example some random news text:</p>
  <blockquote>
  <p>Cliffs have collapsed in New Zealand during an earthquake in the city
  of Christchurch on the South Island. No serious damage or fatalities
  were reported in the Valentine's Day quake that struck at 13:13 local
  time. Based on the <strong>med.</strong> report everybody were ok.</p>
  </blockquote>
  <p>My goal is to get the shortcut of a word + the context of it, but if possible only the sentence in which the shortcut belonds.</p>
  <p>So the successfull output for me will be if I would be able to get something like this:</p>
  <blockquote>
  <p><strong>selected word</strong> -&gt; collapsed</p>
  <p><strong>context</strong> -&gt; Cliffs have collapsed in New Zealand during an earthquake in the city of Christchurch on the South Island.</p>
  <p><strong>selected word</strong> -&gt; med.</p>
  <p><strong>context</strong> -&gt; Based on the <strong>med.</strong> report everybody were ok.</p>
  </blockquote>
  <p>Thanks</p>