deleting all emails in gmail


can somebody help me with this. i did this several months ago but i cant for the life of me remember how to do it. i go to gmail and my all mail page. there is no way to select all the messages at once. btw i have tried this in original html and standered as well. any help is appriciated.

Join to automatically receive all group messages.