Process Special Codes

Hello,

We wanted to process some of the special codes that's available within a paragraph in our word document. I have attached a sample document with the special codes.

Paragraph that has the special code will have a start and end tags. We need to search for the start tag and process all the special codes in the paragraph.

Attached document has the expected output as well. Please assist.

Hi,

can you please repond ASAP?

Hi Komal,

Thanks for your query. You can achieve your requirement by implementing IReplacingCallback interface. Please use the same approach shared at following documentation link to find and replace specific text.
http://www.aspose.com/docs/display/wordsnet/How+to+Find+and+Highlight+Text

Please read the following article about 'Find and Replace' and check the code examples shared at following forum links.
http://www.aspose.com/docs/display/wordsnet/Find+and+Replace+Overview

https://forum.aspose.com/t/96394

Hope this helps you. Please let us know if you have any more queries.