import res = '*CHI:\t<that> [/] (.) that (i)s it . [+ bch]\n's = re.sub('(\(\.\))|[()]', r'\1',s)print(s)
Standard input is empty
*CHI: <that> [/] (.) that is it . [+ bch]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!