Find and replace text within a document

Hi there,

I know that it sounds like a simple question but it’s a bit more complicated!

This is what I need to do: I have a document with some placeholder text (like xxFieldxx) that I need to find and insert formatted text instead.
I have the formatted text as HTML, so I need to insert HTML to the document instead of the text I’m looking for…

I know that I can insert HTML to the document using DocumentBuilder, but how can I find the text, delete it and insert the HTML instead of it at the same location?

Thanks so much!
Shay.

Hi
Thanks for your inquiry. I think code provided in the following forum thread could help you.
https://forum.aspose.com/t/110594
Best regards.