for name in ListEmployee:
    name = name.lower()
if name == test_string:
    return True
elif name + '\xc3\x82\xc2\xae' == test_string:
    return True
elif test_string.endswith(' ' + name):
    return True
elif test_string.startswith(name + ' '):
    return True
elif ' ' + name + ' ' in test_string:
    return True
How can I use regex to search inside sentence -not a case sensitive