parse all kind of spaces