How to use sed to remove all double quotes within a file April 14, 2023 by Tarik You just need to escape the quote in your first example: $ sed 's/\"//g' file.txt