Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 4
    Why not just pin the RE to the end with '[0-9]+$'? Commented Jun 21, 2010 at 9:17
  • Thanks but it will work for last digit abc88 but when it comes abc9999 it won't work Commented Jun 21, 2010 at 9:57
  • @nicerobot - indeed, I updated my answer @Rakesh - I didn't get your comment. It works with abc9999 as well. Commented Jun 21, 2010 at 10:28