title: Remove trailing decimal point & zeroes with Regex
body: <p>Is this the proper REGEX to remove trailing decimal and zeroes from a string? I can't get it to work. What am I missing?</p>
  
  <ol>
  <li>78.000 -> 78</li>
  <li>78.008 -> 78.008</li>
  </ol>
  
  <p><code>str.replaceAll("^.0*$", "");</code></p>