Not sure if you are using Keyboard Maestro 10 yet, but in case you are, and want to test it, here is a draft of the macro (pictured two posts back) which uses a space-separation of the string into words:
That would work and I am using Keyboard Maestro 10. But if I am ever going to learn Regex I need to try to use it. But some of my grey hair is starting to be missing.
Like most things, they're best used in very small quantities : -)
(Once a regular expression gets just a little longer and more complicated, a full scripting language, or some KM blocks, will be already be more flexible, easier to adjust and debug, and less prone to cost frustration and time).