Removing white space from txt with python,"subbed = re.sub('\\s{2,}', '|', line.strip())"