in reply to grep for numbers

I recommend reading perlretut, it teaches you the basics about regular expressions that you'll need for this task.