Deleting parts of a document

Hello,
I am evaluating this product and I have trouble removing/deleting specific regions of text from a document(template).
I have tried working with bookmarks but without succes so far.

Hi

Thanks for your request. Could you please attach your document here and show me a part of the document which you would like to remove. I will check the problem and provide you more information.
Best regards,

Thx for the quick reply
I have colored the sections in the document which I want to be able to delete by code.

Hi

Thank you for additional information. I think approach using bookmarks should fit to your needs. To remove content of bookmark you should use code like the following:

doc.Range.Bookmarks["mybk"].Text = "";

Could you please tell me why bookmarks do not work for you? Please provide me code, which you tried to use to remove bookmarks content.
Best regards,

Thx for the solution to my problem