JeffLabonte
9/16/2019 - 7:53 PM

Filter with list and lambda

matchers = ['abc','def']
matching = [s for s in my_list if any(xs in s for xs in matchers)]