Hi friends.
I need a REGEX that remove repeated lines between 2 lines of a given pattern:
INPUT:
Pattern.SomeText
RepeatedLine
RepeatedLine
RepeatedLine
Line
Pattern.OtherText
RepeatedLine
Pattern.ThirdText
RepeatedLine
TTTT
RepeatedLine
Output:
Pattern.SomeText
RepeatedLine
Line
Pattern.OtherText
RepeatedLine
Pattern.ThirdText
RepeatedLine
TTTT
Lines with pattern always start with it, and the full line is unique. I want to make it with Notepad++.
Anyone can help me? Thanks in advance!!
Aucun commentaire:
Enregistrer un commentaire