@AV-Chan said:
How can we do this?
Version 2 of the solution.
For the files containing text 1 and 2, use the step (i mentioned in first post) to prepended characters for file 2. So both these files will have a number (with leading zeros), both followed by a b character and a space.
For the regex to apply (after making sure last line is a blank line).
Find What:(?-s)^(\d+)a.+\R(\1b.+\R)
Replace With:\2
We can do this as the 2 lines we are ‘inserting’ will never be in the same location, thus designating differently as ‘b’ and ‘c’ is not required.
And lastly I’ve also managed to combine to removal of the prepended characters and removing the last line as 1 regex.
Find what:^\d+[ab]\s|\R\z
Replace With: <— nothing in this field
If any issues/queries please do post back. Actually, post back if it all works as planned. We ALL like the warm fuzzy feeling's we get from a good result.
Terry