title: Remove trailing numbers from string js regexp
body: <p>I am trying to remove the trailing numbers from  the string using JavaScript RegExp. Here is the example.</p>
  
  <pre><code>Input          output
  
  -------------------------
  string33     =&gt; string 
  string_34    =&gt; string_
  str_33_ing44 =&gt; str_33_ing
  string       =&gt; string
  </code></pre>
  
  <p>Hope above example clears what I am looking for!</p>