I have a log file which contains a bunch of non visible control characters such as hex \u0003.
I would like to replace this using something like SED, but can't get the first part of the regex to match:
/s/^E/some_string
I am creating the ^E by pressing CTRL-V CTRL-0 CTRL-3 to create the special character, as read from the 'man ascii' page:
003 3 03 ETX
However, nothing matches this control character.
Any help appreciated!
^E(whatCtrl+0 Ctrl+3do depend on your terminal emulator and keyboard layout). Character 3 would beCtrl+V Ctrl+C.