add regexp option to delete command