var doc = new Aspose.Words.Document(path);
int i = doc.Range.Replace("[Customers].[Name]", "Aspose", true, true);
The above code does not replace the text. When I inspect the document xml, the text [Customers].[Name] is split over more elements. Is that the problem?