0

I have some lines of text with this structure:

TEXT1:TEXT2:TEXT3

I only need TEXT1:TEXT3 joined together. I want to remove the TEXT2 value.

I have tried many options to try sorting them but nothing I found worked. I tried with this:

Notepad++ regex

But I lost about 90% of my lines. Only 10% was successfully converted.

Any help is much appreciated

2
  • Try unticking . matches newline in your original expression.
    – James P
    Feb 7, 2015 at 15:44
  • @James Please post that as a proper answer.
    – user
    Feb 7, 2015 at 17:47

1 Answer 1

1

You need to uncheck the . matches new line option for your original expression to work as otherwise it will find matches across different lines as well.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .