The requirement is more complex than that
There is point for different types of groups with cacher relating to the civlil war. And here is no requirement to have the text Civil War in the cache name.
With all those groups and additional rules i can see not possible way to automate this.The computer has to understand the what the cache is about and that is a very hard problem. I am not sure that there exist any program that can understand text good enough
I would sugest to use something to find all your finds with civil in the description and check the catagory and the others rules manually. It is easy in GSAK to filter for that in your fids. Other cache managers can probably do that to