You mean you want to iterate through two lists?
Suppose You have two lists:
List 1 = List of names
List 2 = List of emails that might contain these names
#LIST 1#
Sarah
Tom
Rebecca
#LIST 2#
Email 1
Email 2
Email 3
You want to iterate through each name in List 1 and check against List 2 to see if any emails contain the names.
Something like this:

Regards,
Kresimir