Gmail – Select all emails in your inbox, not starred or important

Paste the text below into your Gmail search to select all your emails that are not starred or have been marked as important:

label:inbox -is:starred -in:important

I do this often to delete massive amounts of emails when I’ve fallen behind in keeping my inbox tidy.