#Remove everything between and including () and replace the original file with that content sed -i '' "s/([^)]*)//g"