for country in df1[\'country \']: for street,City in zip(df2.street, df2.City): if re.match(r\'[A-Za-z]+\\:\'+ street + r\'\\.\'+ City,country