Google mail search wildcard

Google Mail (Gmail) supports wildcard searching using the * character. Here are some examples:

  1. Search for messages containing a specific word: from:*example.com - finds messages from any email address ending with @example.com.
  2. Search for messages containing a specific phrase: subject:*"hello world" - finds messages with a subject line containing the exact phrase "hello world".
  3. Search for messages containing a specific word or phrase: body:*hello OR body:*world - finds messages containing either the word "hello" or the word "world" in the body.
  4. Search for messages from a specific domain: from:*@gmail.com - finds messages from any email address ending with @gmail.com.
  5. Search for messages with a specific attachment: has:attachment *pdf - finds messages with a PDF attachment.
  6. Search for messages with a specific label: label:*important - finds messages labeled as "important".
  7. Search for messages with a specific sender: from:*[email protected] - finds messages from a specific sender, John Doe, at example.com.
  8. Search for messages with a specific recipient: to:*[email protected] - finds messages sent to a specific recipient, Jane Doe, at example.com.
  9. Search for messages with a specific date range: after:2022/01/01 before:2022/01/31 - finds messages sent between January 1st, 2022, and January 31st, 2022.
  10. Search for messages with a specific size: size:10M - finds messages larger than 10 megabytes.

Note:

Remember to enclose your search query in quotes if you're searching for a specific phrase.