>>> import re >>> name = "Barack (of Washington)" >>> re.sub('[(){}<>']', '', name) >>> print(name) Barack of Washington