Try   HackMD

在編輯器中用正規表達式搜尋

HackMD 支援正規表達式,簡稱為 regex,這是一個強大的工具,可以在筆記中找到符合特定模式的字串。請使用 JavaScript 的正規表示式語法

  1. 在編輯器模式下,透過快捷鍵 Ctrl + F(若在 Mac 上則為 command + F)將會顯示編編輯器頂部的搜尋列。
  2. 在搜尋列中輸入 /<regular expression>/,將 <regular expression>替換為你的正規表達式。記得要保留斜線,否則它只會做一般的搜尋。
  3. 你將在編輯器中看到符合的字詞以類似黃色螢光筆的效果顯示(註:這個螢光筆效果在預覽區域中不會顯示)。

舉例

在搜尋欄中輸入「/ei./」會在以下範例文本中將以下的文字標色

「being」、「sein」、「heidegger」和「dasein」。

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

範例文字:

Being and Time (German: Sein und Zeit) is a 1927 book by the German philosopher Martin Heidegger, in which the author seeks to analyse the concept of Being. Heidegger maintains that this has fundamental importance for philosophy and that, since the time of the Ancient Greeks, philosophy has avoided the question, turning instead to the analysis of particular beings. Heidegger attempts to revive ontology through a reawakening of the question of the meaning of being. He approaches this through a fundamental ontology that is a preliminary analysis of the being of the being to whom the question of being is important, i.e., Dasein, or the human being in the abstract.