title: Remove periods from the end of markdown paragraphs
body: <p>I have a bunch of posts written in markdown and I need to remove the periods from the end of every paragraph in each of them</p>
  
  <p>The end of a paragraph in markdown is delimited by:</p>
  
  <ul>
  <li>2 or more <code>\n</code>s <em>or</em></li>
  <li>The end of the string</li>
  </ul>
  
  <p>However, there are these edge cases</p>
  
  <ol>
  <li>Ellipses</li>
  <li>Acroynms (e.g., I don't want to drop the final period in "Notorious B.I.G." when it falls at the end of a paragraph). I think you can deal with this case by saying "don't remove the final period if it's preceded by a capital letter which is itself preceded by another period"</li>
  <li>Special cases: <code>e.g.</code>, <code>i.e.</code>, <code>etc.</code></li>
  </ol>
  
  <p>Here's a regular expression that <em>matches</em> posts that have offending periods, but it doesn't account for (2) and (3) above:</p>
  
  <p><code>/[^.]\.(\n{2,}|\z)/</code></p>