Hi, This example is from the link:
https://wiki.python.org/moin/RegularExpression I have thought about it quite a while without a clue yet. I notice that it uses double quote ", in contrast to ' which I see more often until now. It looks very complicated to me. Could you simplified it to a simple example? Thanks, import re split_up = re.split(r"(\(\([^)]+\)\))", "This is a ((test)) of the ((emergency broadcasting station.))") ...which produces: ["This is a ", "((test))", " of the ", "((emergency broadcasting station.))" ] -- https://mail.python.org/mailman/listinfo/python-list