https://notepad-plus-plus.org/community/topic/14730/cache-unsaved-docs

https://stackoverflow.com/questions/29617349/notepad-cached-files-location

To get this behavior, you need to have the following two checkboxes TICKED :

  • Remember current session for next launch
  • Enable session snapshot and periodic backup

in Settings (menu) -> Preferences… -> Backup (box on left) -> Session snapshot and periodic backup (box in middle/top)

 

 

使用通配符进行搜索

https://superuser.com/questions/637476/using-wildcard-search-replace-in-notepad

Sorry folks, I just find other answers complicated. (No disrespect intended towards the original posters.)

As this always shows up as the first search result, I'll add this in:

  1. Open the search/replace dialog (CTRL+F then the replace tab)
  2. Tick "Regular Expression" down the bottom
  3. Use .* as the wildcard

For example, I wanted to remove all instances of abp="1314", abp="1313", abp="1312" etc (basically the numbers are all different, which is why you want a wildcard to get rid of them).

In the replace dialog:

Find in what: abp=".*"
Replace with:

(You're replacing anything within those quotes with nothing to get rid of it)

Source: https://www.organicweb.com.au/17226/general-technology/notepad-wildcard/

 
Example:
TATAMotors CRM: There are .*  messages in outbox will be sent out 
需要注意的是.*的前后,不能有空格,否则通配符无效。
 
例子,用Player.*cardId=TB_BaconShop_HERO_53搜索
23:45:21|Info|Player.CreateInHand >> [Player] id=77, cardId=TB_BaconShop_HERO_53, cardName=Ysera, zonePos=1,Info={turn=0, mark=Created, created=true, originalZone=HAND, hasOutstandingTagChanges=true, OriginalController=2, latestCardId=TB_BaconShop_HERO_53}
23:45:35|Info|Player.Play >> [Player] id=77, cardId=TB_BaconShop_HERO_53, cardName=Ysera, zonePos=0,Info={turn=0, mark=Created, created=true, originalZone=HAND, OriginalController=2, latestCardId=TB_BaconShop_HERO_53}
 
 

选中起始行和结束行之间的内容

https://bytefreaks.net/applications/notepad/select-range-of-lines-in-notepad-using-line-numbers?lang=el/feed
  1. Press Ctrl + G, type the start line and hit Enter to go to the start line.
  2. Then go to the menu, click on Edit and then Begin/End select.
  3. Press again Ctrl + G, and type the end line number and hit Enter to go to it.
  4. Back to the menu, click on Edit and then Begin/End select once more.
    By now you will have your range of lines selected.
 

一次搜索两行数据

https://stackoverflow.com/questions/5489128/find-multiple-lines-in-notepad
https://github.com/phdesign/NppToolBucket
直接菜单Plugins,选择Plugins-Admin,然后搜索ToolBucket。直接安装就可以
 安装完成之后,菜单Plugins,选择ToolBucket,然后MultiLine find and replace
 
 
 
 
 
 
 
 

相关文章:

  • 2021-09-14
  • 2021-12-28
  • 2022-01-29
  • 2022-01-11
  • 2021-04-06
  • 2021-05-26
  • 2021-07-29
猜你喜欢
  • 2021-10-14
  • 2022-01-20
  • 2021-11-28
  • 2022-01-24
  • 2022-01-01
相关资源
相似解决方案