Unable to block words in domain using wildcard

Anybody know how we can block a specific string from a domains sender. 

E.g. *theword*   I tried this but it doesn't work. Only *theword.com or *theword.ca or *.ca  etc but not a specific string.