Sometimes I want to search for a specific word but I don't want to find words which have my search string as a substring.

For example, if I search for "**pan**" (bread, in Spanish), I don't want to find the words "ex**pan**sión", "se**pan**", or "**pan**orama". A partial work around would be to search for " **pan** " (with spaces around), but in this case, I will not find the word "**pan**" when it is at the end of the sentence ("**pan.**") or near a comma ("**pan,**").

Is there a straightforward way to accomplish that?