That's a perfect use case for an LLM: grammar-aware find and replace (spicy find and replace.)