Notepad ++:搜索2行,如果缺少则插入1

问题描述 投票:0回答:1

我在Notepad ++上有一个大型XML文档。该文档有很多这样的行:

<DowntimeReason>1</DowntimeReason> <Unscheduled>2</Unscheduled> <Active>1</Active>

但是在某些地方,此代码被错误地复制,看起来像这样:

<DowntimeReason>1</DowntimeReason> <Active>1</Active>

如何找到仅复制了两行并插入缺失的那一部分???

SOS!

我在Notepad ++上有一个大型XML文档。该文档有很多行,例如:1

xml search notepad++
1个回答
0
投票

在“搜索模式”区域中,在“查找”中选择“正则表达式”。

© www.soinside.com 2019 - 2024. All rights reserved.