Hello,
I try to create a macro that searches a file for multiple entries, and deletes all that start with a duplicate number (all but the first line).
The lines always start with 7 digits followed by a semicolon. This number is what I want to search for.
0019608;HIRSCH-A
0020416;MARIEN A
0023403;ADLER AP
0023403;ADLER-AP
0024012;BÄREN-AP
0024012;BÄREN-AP
0024012;BÄREN-AP
0024940;OBERE ST
0024940;OSA;DILL
the result should look like this:
0019608;HIRSCH-A
0020416;MARIEN A
0023403;ADLER AP
0024012;BÄREN-AP
0024940;OBERE ST
sadly I don't know anything about UltraEdit Macros so I tried to created one with copying parts of macros from this forum, but it won't work..
How can I do this?
Thanks in advance
jrpm
I try to create a macro that searches a file for multiple entries, and deletes all that start with a duplicate number (all but the first line).
The lines always start with 7 digits followed by a semicolon. This number is what I want to search for.
0019608;HIRSCH-A
0020416;MARIEN A
0023403;ADLER AP
0023403;ADLER-AP
0024012;BÄREN-AP
0024012;BÄREN-AP
0024012;BÄREN-AP
0024940;OBERE ST
0024940;OSA;DILL
the result should look like this:
0019608;HIRSCH-A
0020416;MARIEN A
0023403;ADLER AP
0024012;BÄREN-AP
0024940;OBERE ST
sadly I don't know anything about UltraEdit Macros so I tried to created one with copying parts of macros from this forum, but it won't work..
How can I do this?
Thanks in advance
jrpm