I had a similar query where I wanted to confirm an element started with some text and found I just need to put an asterisk on the end of the search text.
So in your case, if you are looking for something which contains myWord you could try *myWord* and see if that works.