title: python regexp remove last numbers from string
body: <p>How can I remove the last digits from a string using python regexp or similar:
  I have an IP-address <code>10.121.100.200</code> and would want to only display <code>10.121.100.</code> leaving out the last numbers.</p>