Remove text within a bookmark

I am trying to remove some paragraphs marked a bookmark, but I’ve tried all the examples of the forum, but they just delete the bookmark and not the paragraphs marked with it.
There is the possibility of deleting the text marked by a bookmark?
Thank you for your attention

Hi Wesley,

Thanks for your inquiry.

You can find a sample of how to remove the nodes between a bookmark on this thead here. It is in Java, if you have any troubles translating it I will be glad to assist.

Thanks,