I am currently using Aspose.Words version 188.8.131.52. I am replacing a particular text with another, but I am facing an issue for the same. Can you please help me.
I have a document A. In this document there are 3 tags: ABC_1, ABC_10, ABC_100. I want to replace these values by another document. ABC_1 value will be replaced by text of document B, ABC_10 value will be replaced by text of document C, and ABC_100 value will be replaced by the text of document D.
But the result I am getting is that for all the tags (ABC_1, ABC_10, ABC_100), the value is being replaced by document B only.
The attached file has the code for replacing being used.
Please help. Hoping for a quick and positive reply.