I'd like to remove all characters between a '(' and the second ')'. I tried command lines like: sed '/(/,/)/d' sed '/[(]/,/[)]/d' even got crazy and tried sed '/'('/,/')'/d' sed '/"("/,/")"/d' sed '/\x28/,/\x29/d' None of which worked. (I'm running the script on the latest Debian Distro.)