Bret Lienon Stack Overflow • Recommends
On “c# OpenXML search and replace text not saving”
I very luckily stumbled across the answer at 18:52 into the OpenXmlRegex youtube video (link to this video).. I need to call this PutXDocument() method on the MainDocumentPart for the changes to go into effect (instead of the doc.Save() I was trying to do)
doc.MainDocumentPart.PutXDocument();