title: Regular Expression all characters except last one
body: <p>This is my string: <code>50.00.00..00.00</code></p>
  
  <p>I want to match all <code>.</code> except the last one, so after a replace I end up with <code>50000000.00</code></p>
  
  <p>Can somebody help me with this?</p>