Let's say I have a thousand of cell as:
a1 maria
a2 john
a3 adam
a4 mary
a5 bobby

How to delete cells containing the words John mary and maria for example and keep all others?
In this case I would delete cells: a1 a2 and a4
Thanks in advance.