Hi, so like in title. Is there any way to delete line If it contains a "word"?

Ex.

Code:
Dim text As String = File.ReadAllText("index.html")
"text" is my full text. And i want to detect line with "word" and delete this line.


Thank you in advance for your help