in reply to Re^3: word with some number in between
in thread word with some number in between

Continuing hippo's advice, you should continue to the grep part next.

Cheers, Sören

(hooked on the Perl Programming language)