Removing Only Group Commands
To remove the GROUP / ENDGROUP commands, but retain the group's contents, do one of the following:
In the Edit window in Command mode, ensure that all the items in the group are visible, select either the GROUP or ENDGROUP command (but not the entire group), and press Delete on your keyboard.
In the Edit window in Summary mode, expand the group, right-click on the GROUP command, and either select Delete from the shortcut menu or press Delete on your keyboard.
Removing both Group Commands and Contents
To remove the GROUP / ENDGROUP command and its contents, do one of the following:
In the Edit window in Command mode, hide all of the features in the group, select the GROUP and ENDGROUP commands (ensure that you select both commands), and press Delete on your keyboard.
In the Edit window in Summary mode, collapse the group, right-click on the GROUP command, and either select Delete from the shortcut menu or press Delete on your keyboard.
If the items in the group are visible, you need to select the entire GROUP / ENDGROUP command block before you remove it.