title: incrementing the last digit of a string using regular expression
body: <p>how to increment the last digit of a string using regular expression, ie <code>44test1222</code> to <code>44test1223</code></p>
  
  <p>i have incremented but how to change that. my regular expression in JavaScript code is as given below</p>
  
  <pre><code>var email='44test1222';
  var number = email.match(/\d+$/);
  number++;
  </code></pre>