find a string that end with any number by regular expression
I want to identify two kinds of string: one end with numbers (or not with) by regular expression. But i can't classify them by    `\d+$` or    `^\D*\d*$` or    `^[a-zA-Z]*[0-9]*$`... does anyone can tell me why? and how to solve this problem..?
find a string that end with any number by regular expression
===

I want to identify two kinds of string: one end with numbers (or not with) by regular expression. But i can't classify them by    `\d+$` or    `^\D*\d*$` or    `^[a-zA-Z]*[0-9]*$`... does anyone can tell me why? and how to solve this problem..?