I'm trying to search through text in Notepad++ for certain "line pairs" (lineA, lineB) to concatenate them and discard anything else.
Each Line Pair
lineAmust contain a commalineBis the closest line that followslineAwhile also containing the word "Proximity"
Sample Text
1 "SCOTT, Michael" 2 "Office Manager" 3 "Card Number Card Format Disabled" 4 "0273ADNC PAC Proximity Reader False" 5 "Random rubbish" 6 "SCHRUTE, Dwight" 7 "Card Number Card Format Disabled" 8 "0897FFRF PAC Proximity Reader False" Concatenated Text:
1 "SCOTT, Michael;0273ADNC PAC Proximity Reader False" 2 "SCHRUTE, Dwight;0897FFRF PAC Proximity Reader False" - concatenated lines are delimited with a semicolon to help me parse them later
- extra lines 2, 3, 5, and 7 from "Sample Text" were discarded

