from string import ascii_uppercase
upper = ascii_uppercase
s = 'TTteSTStrForAnon'
for i in upper:
s = s.replace(i, '🐍' + i + '🐍')
print(s.strip('🐍').replace('🐍🐍', '🐍').split('🐍'))
ZnJvbSBzdHJpbmcgaW1wb3J0IGFzY2lpX3VwcGVyY2FzZQp1cHBlciA9IGFzY2lpX3VwcGVyY2FzZQpzID0gJ1RUdGVTVFN0ckZvckFub24nCgpmb3IgaSBpbiB1cHBlcjoKCXMgPSBzLnJlcGxhY2UoaSwgJ/CfkI0nICsgaSArICfwn5CNJykKcHJpbnQocy5zdHJpcCgn8J+QjScpLnJlcGxhY2UoJ/CfkI3wn5CNJywgJ/CfkI0nKS5zcGxpdCgn8J+QjScpKQ==
['T', 'T', 'te', 'S', 'T', 'S', 'tr', 'F', 'or', 'A', 'non']