Last Updated: February 25, 2016
·
1.276K
· felipebrnd

Removing special characters with sed

Using sed to remove special characters like – (HEX: 96):

sed 's/\x96/-/' -i file.txt

  • The -i flag will modify the file in place, when testing sed commands don't use it!