How am I able to remove an entire string which has a certain word in it?
For example I have a file that contains:
Cheese is nice
Ham is also pretty tasty
This is fun
How can I input, the string with 'Ham' and it should be entirely deleted. So if I input Ham it removes the entire string.
Ham is also pretty tasty