簡體   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