Replace any four uppercase letters followed by any characters and a four digit number with just the four letters and the four digit number in file.txt.
sed -i 's/\([A-Z]\{4\}\)[^ ]* \([0-9]\{4\}\)/\1 \2/' file.txt