$ echo 'text^E^E^E^E' |perl -ne 's/\x05//g;print;'|od -c 0000000 t e x t \n 0000005