in reply to Matching lines in a file that end in numbers (was: regular expression)
Why search when you can replace?
Note that that could leave trailing whitespace; to get rid of that, use s/\s*\d+$// instead.