notepad++ 使用技巧

Cache Unsaved Docs

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 
需要注意的是.*的前后,不能有空格,否则通配符无效。
 
 
 

转载于:https://www.cnblogs.com/chucklu/p/10244678.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值