delete-matching-lines (uses regexp) C-x r k Kill the text of the region-rectangle, saving its contents as the “last killed rectangle” (kill-rectangle).