当前位置:网站首页>Notepad++ practical function sharing (common methods for replacing the end and beginning of regular lines, text comparison function, etc.)
Notepad++ practical function sharing (common methods for replacing the end and beginning of regular lines, text comparison function, etc.)
2022-06-23 23:52:00 【Share a drink none】
Many times, you need to add characters or text before and after multiple lines of text , Adding line by line is too much trouble .notepad++ Provides one key replacement function .
Replace common methods
open nodepad++ Software , Use ctrl+H Enter the replace selection box , Then check cycle search (wrap around), Find pattern selection regular expression (Reqular expression);
Insert... At the beginning of the line "^"
Insert a semicolon at the beginning of the line ’, stay Find the target (Find what) Input ^, And then in Replace with (replace with) Enter the semicolon you want to replace ’.
Insert at the end of the line "$"
Insert a semicolon at the beginning of the line ’, stay Find the target (Find what) Input $, And then in Replace with (replace with) Enter the semicolon you want to replace ’.
Remove spaces and blank lines at the beginning of the line :“^\s+” -> “”
End of line spaces and empty lines are removed : “\s+$” -> “”
Add rows :“\r\n” -> “\r\n\r\n”
Reduce row :“\r\n\r\n” -> “\r\n”
Multi line to one line :“\r\n” -> “”
Press xxx Break line :“xxx” -> “\r\n”
Press No xxx Wrap at the beginning :“^(?!xxx)” -> “\r\n”
AB Column CD Column quick swap :“(AB)\t(CD)” ->“$2\t$1”
Common plug-ins
Text comparison
open notepad++ Drag the file to be compared to the right , choice Move to other view( Move to another view ), choice Plugins->Compare->Compare The effect is as follows :
To add more plug-ins, you can choose Plugins->Plugin Manager->Show Plugin Manager, Add and download more plug-ins .
This is the end of this article ,
If you have any harvest, you are welcome to like, collect and pay attention to ️, Your encouragement is my biggest motivation .
If you have any wrong questions, you are welcome to point out .
Home page : Share a cup of no blog summaryKeep loving , Go to the next mountain and sea .

边栏推荐
猜你喜欢

Smart doc + Torna compatible version

文言文能编程???

Cvpr2019/ image translation: transgaga: geometry aware unsupervised image to image translation

How to ensure reliable power supply of Expressway

为实现“双碳”目标,应如何实现节能、合理的照明管控

Golang 类型断言

fatal: The upstream branch of your current branch does not match the name of your current branch.

AutoCAD -- summarize three methods of drawing rounded corners in CAD
![Total number of combinations ii[each element can only be solved by + once]](/img/06/a40e28a1882a4278883202bc9c72d3.png)
Total number of combinations ii[each element can only be solved by + once]

2.摄像机标定
随机推荐
嵌入式接口复习资料
What are the good solutions for industrial control safety of production line
一个人竟然撸了一个网易云音乐云村
不同物体使用同一材质,有不同的表现
List<? extends T>和List<?super T>区别
Application of acrel-3000web power management system in Duba Expressway
The digital transformation index report 2021 released by Tencent Research Institute has accelerated the digital transformation and upgrading of mainland enterprises!
PyQt5_ Qtablewidget paging radio right-click menu control
【Try to Hack】masscan
Improvement of DC power distribution with open hall current sensor
《德阳市餐饮服务业油烟污染防治管理办法(征求意见稿)》之创新油烟监管
Tupu software intelligent wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment
docker redis集群配置
UART协议时序总结
Big guy on security privacy computing escort data security needs to pay attention to science and technology ethics at the same time
Different objects use the same material and have different performances
再见,2020,这碗毒鸡汤,我先干了
入参参数为Object,但传递过去却成了[object object] 是因为需要转为JSON格式
Docker Deployment redis
三维向量场中的通量