Could you be more specific about the requirements of the code?

- What does your file look like?
- Does one row equal one search string or can also be searched for a part of a row but still the whole row has to be removed?