You can select a range by clicking on the first (or last) message you want to delete, hold Shift, and then select the last (or first) message you want to delete.
After selecting the desired range, simply click the Permanently Delete button.