title: How do I remove all punctuation that follows a single word in Java?
body: <p>I need to remove punctuation following a word. For example, <code>word?!</code> should be changed to <code>word</code> and <code>string:</code> should be changed to <code>string</code>. </p>
  
  <p>Edit: The algorithm should only remove punctuation at the end of the String. Any punctuation within the String should stay. For instance, <code>doesn't;</code> should become <code>doesn't</code>.</p>