අපි හැමෝම වගේ Gmail පාවිච්චි කරනවා නේ..... Gmail Advanced Search එකේදී වැදගත් වෙන කෙටි යෙදුම් තමි මේ Post එකේ තියෙන්නේ... නිතර ඕනේ නැති උනාට හදිසියකදී අපිට මේවා ඕනේ වෙන නිසා තම දැම්මේ.... 

Operators
"" (quotes):
Format: "keyword"
Example: "meeting agenda"
(Return only emails with the exact quoted keyword(s).)
subject:
Format: subject:keyword
Example: subject:Google Alert
(Return emails with keyword(s) in titles.)
from:
Format: from:<name>
Example: from:hongkiat
(Return emails received from a specific user, but not the email address.)
Format: from:<[email protected]>
Example: from:[email protected]
(Return emails received from a specific email address.)
to:
Format: to:<name>
Example: to:hongkiat
(Return emails sent to a specific user, but not the email address.)
Format: to:<[email protected]>
Example: to:[email protected]
(Return emails sent to a specific email address.)
in:
Format: in:<label name/inbox/trash/spam/anywhere>
Example: in:trash
(Return emails stored in a specific location. If you are looking for emails that you have no clue where it is, use in:anywhere.)
is:
Format: is:<starred/unread/read/chat>
Example: is:unread
(Return emails with a specific status. E.g, Starred, unread, read emails or even Gtalk chat logs.)
cc: & bcc:
Format: cc:<name> or cc:<[email protected]>
Example: cc:hongkiat or cc:[email protected]
(Return emails carbon copied to a user or specific email address.)
Format: bcc:<name> or cc:<[email protected]>
Example: bcc:hongkiat or cc:[email protected]
(Return emails blind carbon copied to a user or specific email address.)
Before: & after:
Format: before:<yyyy/mm/dd>
Example: before:2010/07/01
(Return emails before a specific date.)
Format: after:<yyyy/mm/dd> before:<yyyy/mm/dd>
Example: after:2010/06/01 before:2010/07/01
(Return emails after in range of or after specific date.)
label:
Format: label:<label name>
Example: label:Comments
(Return emails with a specific label.)
filename:
Format: filename:<filename.format>
Example: filename
resentation.pdf
(Return emails with the exact filename attached.)
Format: filename:<format>
Example: filename
df
(Return emails that have the same file type attached.)
has:attachment
Format: has:attachment
Example: from:hongkiat has:attachment
(A more general search for emails with attachments. Return emails with attachments, regardless of file type and format.)
Combining Operators
"-"
Format: operator:value -operator:value
Example: has:attachment -filename:zip
(Return emails with attachements, filtering away those with .zip attachments.)
"OR"
Format: operator:value OR operator:value
Example: from:[email protected] OR from:[email protected]
(Return emails received from either user(s).)
"AND"
Format: operator:value AND operator:value
Example: from:[email protected] AND has:attachment
(Return only emails received from a specific email that has an attachment.)
10 (More) Advanced Search Examples
Example: in:inbox label:facebook is:unread
(Search for all unread emails labeled facebook inside inbox.)
Example: in:anywhere from
eter
(Search for all emails regardless where it’s stored (spam, inbox, trash) received from anyone with the name Peter.)
Example: is:unread after:2010/06/01 before:2010/07/01
(Search for all unread mails for the month of June. )
Example: from: [email protected] has:attachment
(Return all emails with attachments sent by [email protected])
Example: in:inbox "meeting"
(Search inbox for any emails with the keyword "meeting" in it.)
Example: from
[email protected] has:attachment filename:zip
(Return only emails received from [email protected] with .zip attachments.)
Example: "facebook" -from
facebookmail.com
(Return all emails with the keyword "facebook", excluding those sent by facebook.com)
Example: to
eter OR cc
eter
(Return all emails sent to or carbon copied Peter.)
Example: label:google OR from
google.com
(Return all emails received from google.com or labeled "google".)
Example: "meeting" is:chat
(Return all chat log files with keyword "meeting" in it.)


Operators
"" (quotes):
Format: "keyword"
Example: "meeting agenda"
(Return only emails with the exact quoted keyword(s).)
subject:
Format: subject:keyword
Example: subject:Google Alert
(Return emails with keyword(s) in titles.)
from:
Format: from:<name>
Example: from:hongkiat
(Return emails received from a specific user, but not the email address.)
Format: from:<[email protected]>
Example: from:[email protected]
(Return emails received from a specific email address.)
to:
Format: to:<name>
Example: to:hongkiat
(Return emails sent to a specific user, but not the email address.)
Format: to:<[email protected]>
Example: to:[email protected]
(Return emails sent to a specific email address.)
in:
Format: in:<label name/inbox/trash/spam/anywhere>
Example: in:trash
(Return emails stored in a specific location. If you are looking for emails that you have no clue where it is, use in:anywhere.)
is:
Format: is:<starred/unread/read/chat>
Example: is:unread
(Return emails with a specific status. E.g, Starred, unread, read emails or even Gtalk chat logs.)
cc: & bcc:
Format: cc:<name> or cc:<[email protected]>
Example: cc:hongkiat or cc:[email protected]
(Return emails carbon copied to a user or specific email address.)
Format: bcc:<name> or cc:<[email protected]>
Example: bcc:hongkiat or cc:[email protected]
(Return emails blind carbon copied to a user or specific email address.)
Before: & after:
Format: before:<yyyy/mm/dd>
Example: before:2010/07/01
(Return emails before a specific date.)
Format: after:<yyyy/mm/dd> before:<yyyy/mm/dd>
Example: after:2010/06/01 before:2010/07/01
(Return emails after in range of or after specific date.)
label:
Format: label:<label name>
Example: label:Comments
(Return emails with a specific label.)
filename:
Format: filename:<filename.format>
Example: filename
(Return emails with the exact filename attached.)
Format: filename:<format>
Example: filename
(Return emails that have the same file type attached.)
has:attachment
Format: has:attachment
Example: from:hongkiat has:attachment
(A more general search for emails with attachments. Return emails with attachments, regardless of file type and format.)
Combining Operators
"-"
Format: operator:value -operator:value
Example: has:attachment -filename:zip
(Return emails with attachements, filtering away those with .zip attachments.)
"OR"
Format: operator:value OR operator:value
Example: from:[email protected] OR from:[email protected]
(Return emails received from either user(s).)
"AND"
Format: operator:value AND operator:value
Example: from:[email protected] AND has:attachment
(Return only emails received from a specific email that has an attachment.)
10 (More) Advanced Search Examples
Example: in:inbox label:facebook is:unread
(Search for all unread emails labeled facebook inside inbox.)
Example: in:anywhere from
(Search for all emails regardless where it’s stored (spam, inbox, trash) received from anyone with the name Peter.)
Example: is:unread after:2010/06/01 before:2010/07/01
(Search for all unread mails for the month of June. )
Example: from: [email protected] has:attachment
(Return all emails with attachments sent by [email protected])
Example: in:inbox "meeting"
(Search inbox for any emails with the keyword "meeting" in it.)
Example: from
(Return only emails received from [email protected] with .zip attachments.)
Example: "facebook" -from
(Return all emails with the keyword "facebook", excluding those sent by facebook.com)
Example: to
(Return all emails sent to or carbon copied Peter.)
Example: label:google OR from
(Return all emails received from google.com or labeled "google".)
Example: "meeting" is:chat
(Return all chat log files with keyword "meeting" in it.)
Code:
Source : http://www.hongkiat.com/blog/gmail-advanced-search-ultimate-guide/#more-8995


thnx!