Oops, the above code doesn't quite work. Use this one instead.
re.findall(r'(.+? (?:\(.+?\))?)(?:,|$)',yourtexthere)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to