I am trying to remove whole sentences that start with a certain phrase, but I want to retain the rest of the body text. For example:
text = "Hello I like dogs. I also like cats. Hello I like animals"
I want to remove any sentence that starts with "Hello" But retain the rest, therefore the function should only leave:
"I also like cats."
Currently I am experimenting with regex expressions, but I am unsure of a way to achieve this. Any help would be appreciated.