Se uma lista tiver uma string removendo

strings_with_substring = [string for string in strings if substring in string]
Adventurous Albatross