Hello,
I’m trying to find placeholders in a Word document using the “.GetChildNodes(NodeType.Run, true)” method, for example, “{egov_Ticket}”, in order to apply logic to the next nodes.
However, in this example, this term is split across three different nodes. For instance, Node 1 = “{”, Node 2 = “egov_Ticket”, and Node 3 = “}”. This makes it impossible for me to find the desired word.
Even removing the formatting in the Word document doesn’t seem to work. The only solution I have found is to delete this term and manually rewrite it.
Is there any other solution for this?
Best regards