def formatter(s):
return s.replace("\\n", "\n").replace("\\t", "\t")# and etc.
file = open("D:/test.txt","w")
file = open("D:/файл.txt","r")
text = file.read()
=FILTER(A1:A11;ISNA(MATCH(A1:A11;B1:B12;0)))
=FILTER(B1:B12;ISNA(MATCH(B1:B12;A1:A11;0)))