You can use awk with regular expressions for this:
echo "4539 07235001 Aach Trier Saarburg" | awk 'BEGIN { FS = "[ ]{2,}" } { OFS = "|" }; {$1=$1; print $0 }'
FS
variable is used to set the field separator for each record and may contain any regular expression. OFS
is the output equivalent of the FS
variable.