I am able to replace characters in strings using the Python re library, but I need to use the pyparsing library (or no library at all) instead. Is there another way to do this without re?
import re
string = re.sub(r'[\t\r\n]', '', string)
I am able to replace characters in strings using the Python re library, but I need to use the pyparsing library (or no library at all) instead. Is there another way to do this without re?
import re
string = re.sub(r'[\t\r\n]', '', string)