replace single instances of a character that is sometimes doubled,"s.replace('||', '|||')[::2]"