We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to find the tags (specific text) using Aspose.Words for .NET

step 1: Consider list having values like
list[0] =$abcstart{ } abdend$
list[1] =$xyzstart{ } xyzend$
list[2] = $efgstart{ } efgend$

step 2 : Loop each list of tags and fine if tag is present in document if not add it separate list as missing tags

step 3: Input document
Tags.zip (17.9 KB)

step 4: list missing tags in separate
missinglist[0] = $efgstart{ } efgend$


You can achieve your requirement using 'Find and Replace' feature of Aspose.Words. Please check the third code example in the following article.
Find and Replace

If you do not want to replace the content, please use ReplaceAction.Skip replace action in IReplacingCallback.Replacing.

Hope this helps you.