Hello,
Please note that we replied to this same question in a previous message:
You can use getDocxPathQueryInfo or getWordContents to query if an element (such as a table, column or cell) contains a specific text content. With this information you can use removeWordContent to remove the needed elements.
With getDocxPathQueryInfo and getWordContents methods you can query elements to get positions, contents and other information.
Regards.