title: Remove Decimal Numbers From String but Retain Whole Numbers in Python
body: <p>I have a number of strings that contain a mixture of text, special characters, decimal numbers and whole numbers. Here are some examples:</p>
  <pre><code>Run Ho 1132  0.0,-0.5
  
  Run Af 29  0.0
  </code></pre>
  <p>The whole numbers can in theory be any size but the decimal numbers will have a maximum of 3 digits either side of the decimal point.</p>
  <p>I want to remove the decimal numbers along with any commas and - symbols but retain all whole numbers.</p>
  <p>So in the above examples the desired output is:</p>
  <pre><code>Run Ho 1132
  
  Run Af 29
  </code></pre>
  <p>Is this possible?</p>