title: Removing only the numeric without affecting other numbers in the string
body: <p>I have a list of objects that goes as follows, for example:</p>
  
  <pre><code>['ref_2537_1_obj1', 'ref_8953_1_obj32', 'ref_1120_1_obj', 'ref_8919_1_obj143']
  </code></pre>
  
  <p>And I wanted to remove the numeric that exists at the end of each item in the list, so that it should be like this:</p>
  
  <pre><code>['ref_2537_1_obj', 'ref_8953_1_obj', 'ref_1120_1_obj', 'ref_8919_1_obj']
  </code></pre>
  
  <p>However, if I tried using <code>.isdigit</code>, it will remove the other numbers that exists. And if I were to use <code>[:1]</code>, <code>[:2]</code> or <code>[:3]</code>, it also does not seems to be the ideal case as you can see in my example where there exists between 1-3 digits at the end..</p>
  
  <p>What is the best way to approach it?</p>