in reply to words with numbers in them

Is "789" a word?

Also, \w will already match digits, while "Motörhead666" might be considered a word, but will not be matched by your regular expression.

Maybe have a look at perlre and the character classes to choose the ones that are closer to your definition of "word".