replacing text with images throughout a job lot

Is there a process that allows specific text to be replaced with specific images?
Replace text and or objects does not do what I need.
Ie

all  "the" to be replaced with an image of a "face" and so on.

using Corel 2018

Thanks so much