Python - how to delete hidden signs from string?,"new_string = re.sub('[^{}]+'.format(printable), '', the_string)"