You can replace lines containing a string with a Regular Expression Replace All.
To do this you would do a find of:
Find What: %*YOUR STRING*^p
Replace With: (literally nothing)
The Regular Expressions section in the Help file has further details.