快速複製PasteCopy.NET全部清單

快速複製PasteCopy.NET全部清單
加速整理Wretch相簿連結 XD
editor.OpenFile("D:\\軟體\\PasteCopy\\Clipboard.txt",eeEncodingUTF8,eeOpenAllowNewWindow);
document.selection.Replace("^(Nt,)","",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
document.selection.Replace("R\\+,新類別\\n","",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
document.selection.Replace("(http://.*)$\\n","<a target=\"blank\" href=\"\\1\">\\1</a><br />\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
document.selection.SelectAll();
document.selection.Copy(eeCopyUnicode);
document.close();
  1. 開啟ClipBoard.txt
  2. RegExp取代^(Nt,)
  3. RegExp取代R\+,新類別\n
  4. 把網址替換成超連結>
  5. 全選
  6. 複製
  7. 關閉檔案

EmEditor Help: Macro Reference