当前位置:网站首页>Notepad++ practical function sharing (regular line end line beginning replacement common methods, text comparison functions, etc.)
Notepad++ practical function sharing (regular line end line beginning replacement common methods, text comparison functions, etc.)
2022-07-19 15:18:00 【Have a drink no】
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 .

边栏推荐
猜你喜欢
![2021.07.13 [station B] collapsed like this](/img/af/d7d6ae059b4bc2d76c6ea0edb64c82.png)
2021.07.13 [station B] collapsed like this

最大堆与堆排序和优先队列

深层次观点看 AlphaGo 和李世石的 PK
![[microservice] microservice learning note 3: use feign to replace resttemplate to complete remote call](/img/e6/b2f328a8e5ec3becdb9f934d041182.png)
[microservice] microservice learning note 3: use feign to replace resttemplate to complete remote call
![[XSS range 10-14] insert when you see parameters: find hidden parameters and various attributes](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[XSS range 10-14] insert when you see parameters: find hidden parameters and various attributes

kube-proxy & Service & Endpoint

session management

云原生应用的概念和云原生应用的 15 个特征

【xss靶场10-14】见参数就插:寻找隐藏参数、各种属性

GYM103660H. Distance
随机推荐
Distributed transaction summary
SBOM (software bill of materials)
Leetcode 1275. 找出井字棋的获胜者
网上开户安全么?接着证券开户选择哪个证券
A - Trees on the level(树的层序遍历)
UVA - 12096 The SetStack Computer
线性表(顺序存储,链式存储)(带头结点的链表,不带头结点的链表)
堆栈的实现之顺序存储,链式存储
2036: [蓝桥杯2022初赛] 统计子矩阵(二维前缀和,一维前缀和)
Summary of the third week of summer vacation
02-线性结构3 Reversing Linked List
Li Hongyi machine learning 2022.7.15 -- gradient descent
Internship is a barrier to enter the society
微信小程序7-云存储
[GYM103660] The 19th Zhejiang University City College Programming Contest 浙大城市学院校赛VP/S
Leetcode 1275. 找出井字棋的獲勝者
UVA340 Master-Mind Hints
kibana 使用json文档数据
Leetcode 1296. Divide the array into a set of continuous numbers (provide an idea)
初来乍到,多多关照(其实不是初来了^_^,Hello CSDN,我来了)