iT邦幫忙

0

gmail搜尋問題,如何搜尋含.的字串

舜~ 2021-09-05 12:55:581131 瀏覽
  • 分享至 

  • xImage

大家好,
在使用gmail在搜尋字串時,
若沒有前後加上 "的話會變成相似的都會被搜尋出來

但加上"的話好像也沒辦法完整精確的搜尋完整字串?
相似的一樣都跑出來了?
如果附檔有我指定的字串那也ok,但完全不相干的都出來了...

請問我要怎麼下語法會比較好??

https://ithelp.ithome.com.tw/upload/images/20210905/20110337p0O0JfhYWg.png

我有注意到,只要我搜尋的字串不要包含.
那麼搜尋的結果精確度就會比較高
但我要搜尋IP...
改用 "xxx\.xxx\.xxx\.xxx"
反而什麼結果都沒有

https://ithelp.ithome.com.tw/upload/images/20210905/20110337bj4AupjXKC.png

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

1
最佳解答

剛剛有實際試了,不需要"雙引號就可以精準篩選出所要的ip資訊內容。

  1. 原本有兩封相近ip內容的信件
    https://ithelp.ithome.com.tw/upload/images/20210905/20141198htOB41gs69.png

  2. 開啟篩選條件
    https://ithelp.ithome.com.tw/upload/images/20210905/20141198YGtXPYgQdB.png

  3. 指定篩選條件內容
    ip不需要"雙引號
    https://ithelp.ithome.com.tw/upload/images/20210905/20141198pgTrcIKD4U.png

  4. 篩選出唯一的一筆信件
    https://ithelp.ithome.com.tw/upload/images/20210905/20141198gWbpAE1MWw.png

舜~ iT邦高手 1 級 ‧ 2021-09-06 06:04:08 檢舉

感謝~

小事,未來一起加油

1
Hankz
iT邦新手 2 級 ‧ 2021-09-05 15:26:54

gmail的help頁面有說明
如果搜尋關鍵字中是數字加小數點會被當作小數
所以看起來10.7.119.5是被拆解成10.7和119.5去做搜尋
而官方似乎也沒有給予跳脫字元之類的機制

原文:
When using numbers as part of your query, a space or a dash (-) will separate a number while a dot (.) will be a decimal. For example, 01.2047-100 is considered 2 numbers: 01.2047 and 100.

資料來源

我要發表回答

立即登入回答