W dniu 28.07.2015 o 15:55, Victor Hooi pisze: > I know the regex library also has a split, unfortunately, that does not collapse consecutive whitespace: > > In [19]: re.split(' |', f) Try ' *\|' p. m.