> > > which could be as simple as in vi/vim.) > I think he want to delete lines matching a regexp, so C-k is not what he > wants here. > > `query-replace-regexp' can be used with a regexp like this: > > ^.*\(your_regexp\).*$ > > and you replace with nothing (empty prompt). > > -- > replace-regexp is indeed closer to what I am looking for. However, I'd like the result to not leave blank lines. Regards, Kashyap