Delete a line in a word doc

I have a word document that I want to delete the line a phrase is on.
I have looked at some of the examples and can not see how to do this.
It seems I should find the text and then delete the row but not sure where to start.

Hello

Thanks for your request. For removing, you should just find the node and call Remove method. Please note, each node has Remove method.
https://reference.aspose.com/words/net/aspose.words/node/remove/
Also please follow the link to learn how to programmatically find a particular word or a phrase in a document using Aspose.Words:
https://docs.aspose.com/words/net/find-and-replace/
Instead of highlight you can remove needed word or a phrase.
Best regards,