Finding in elements in a tuple and filtering them,[x for x in l if x[0].startswith('img')]