I'd like to be able to run a script that will:

1. Loop through all slides
2. Look at the title placeholder (which is NOT always the first object on the slide, which I've learned may be problematic, code-wise) and determine the existence of 6 "target" words
3. If any of those target words are found, delete the words, or find/replace (find word, replace with a space)

I have pieces of a find/replace script, and I have pieces of a "edit title" script - but I'm struggling to integrate the two into a working solution.

Target words: Total, What, Where, Who, TTD
Example title, before/after: 'NEW WHERE' becomes 'NEW'