import re

pattern = r"\w*([a-zA-Z])\1\w*"
s = 'settle, look, test'
for m in re.finditer(pattern, s):
    print(m.group())