How we can remove heading and subheading from word find using gembox

I want to delete content also for that heading or subheading.