Hi,
I am finding a hidden token and replace it with a bookmark. And extracting the content between the bookmark. After that content converts to another document. But while replacing the token word last “|” hidden character is still showing in the extracted document. Please tell me if I am doing anything wrong.
wrdHtmlWithReplacePoc.zip (69.3 KB)
My Source code, input, output, and the expected output files are uploaded with the zip. Please look in to it.