@e-l said in Delete Partially Duplicate Lines:
.17763.[123456789][0123456789] : deletes within asterix, dot after 17763 is literal, square brackets each pair indicates 1 acceptable character
There are some issues with the description of your regex. The first wrong belief is that the DOT following the string 17763 is a literal DOT, instead it represents a single character position, whatever that character is. Given you say “do not check . matches newline” then the DOT will not equal end of line characters.
Second inaccuracy is thinking you need to identify every number within each of your 2 [ ] groups. You can represent these as [1-9] and [0-9] as they are comprised of consecutive characters in each group. If; for example; you wanted to identify [01236789] you would write this as [0-36-9].
Also be careful with the .* as this is greedy. If your line contains multiple 17763 strings then the greedy modifier will consider the last 17763 string to be the important one. Probably not really a problem here but in other tests you may find incorrect results.
I think you need to start with basics in learning regex. If you look in our FAQ section you will find posts that will steer you in the right direction. I feel you may need to undo some of your beliefs. Be aware that there are several forms of regex. By reading from our FAQ you will see the one used within Notepad++.
In the end I suppose what I say may well fall on deaf ears. You have something that (in your mind) achieves the desired result. So good on you for trying it yourself.
Terry