Use sed -e instead of -E
Simplify regex, not replacing trailing colon (:)