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".
In reply to Re: words with numbers in them
by Corion
in thread words with numbers in them
by facebook
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |