繁体   English   中英

在记事本++中,如何在文件中搜索由多行分隔的一对字符串?

[英]In Notepad++, how to search for a pair of strings in a file that are separated by multiples lines?

我在 Notepad++ 中有一个文件,其中包含如下重复部分:

something here xx
something here xxx
INS*Y*D3*60
something here x
something here xx
something here xxx
something here xxxx
something here xxxxx
DTP*349*17
something here...

我希望能够进行搜索以找到所有实例

 INS*Y 

 DTP*349 

显示为一对由唯一字符串行分隔的字符串,跳过结束 INS*Y 行的字符串,并跳过中间行上的所有字符串(它们都包含唯一信息)。

我在 Notepad++ 中有一个文件,其中包含如下重复部分:

something here xx
something here xxx
INS*Y*D3*60
something here x
something here xx
something here xxx
something here xxxx
something here xxxxx
DTP*349*17
something here...

我希望能够进行搜索以找到所有实例

 INS*Y 

 DTP*349 

显示为一对由唯一字符串行分隔的字符串,跳过结束 INS*Y 行的字符串,并跳过中间行上的所有字符串(它们都包含唯一信息)。

我在 Notepad++ 中有一个文件,其中包含如下重复部分:

something here xx
something here xxx
INS*Y*D3*60
something here x
something here xx
something here xxx
something here xxxx
something here xxxxx
DTP*349*17
something here...

我希望能够进行搜索以找到所有实例

 INS*Y 

 DTP*349 

显示为一对由唯一字符串行分隔的字符串,跳过结束 INS*Y 行的字符串,并跳过中间行上的所有字符串(它们都包含唯一信息)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM