Replace all double quotes with single quotes March 8, 2023 by Tarik You need to pass the g flag to sed: sed "s/\"https://stackoverflow.com/"/g"