import re
string = 't''h''i''s''i''s''a''t''e''s''t''f''o''r''s''t''a''c''k''o''v''e''r''f''l''o''w'
s = re.findall(r"[^']", string)
Это вернет список:
C:\Users\Documents>py test.py
['t', 'h', 'i', 's', 'i', 's', 'a', 't', 'e', 's', 't', 'f', 'o', 'r', 's', 't', 'a', 'c', 'k', 'o', 'v', 'e', 'r', 'f', 'l', 'o', 'w']
и с этим можно делать что угодно.
Как:
''.join(s)
выход:
C:\Users\Documents>py test.py
thisisatestforstackoverflow