|
Re: Removing duplicate entries
Thanks, Flo.
That did most of the "clean-up" work and I can take care of the rest manually.
-Mike
>
-- Mike Breiding www.EpicRoadTrips.us
Thanks, Flo.
That did most of the "clean-up" work and I can take care of the rest manually.
-Mike
>
-- Mike Breiding www.EpicRoadTrips.us
|
By
WV- Mike
·
#26201
·
|
|
Re: Removing duplicate entries
Mike,
I have tested this...
; Add an empty line between groups
^!Replace "^(.+)(\R\1.*)" >> "\r\n$0" WARS
; Remove first line in a group
^!Replace "^(.+)(\R\1.*)" >> "" WARS1
; Reduce empty
Mike,
I have tested this...
; Add an empty line between groups
^!Replace "^(.+)(\R\1.*)" >> "\r\n$0" WARS
; Remove first line in a group
^!Replace "^(.+)(\R\1.*)" >> "" WARS1
; Reduce empty
|
By
Flo
·
#26200
·
|
|
Re: Removing duplicate entries
Hi John,
I ran the clip after sorting and got these results for the first several lines:
'Anne Hardgrove' X (#2 red(T. Ring) same as 'Anna Delp x 'Delp's Cindy Lou)
'Arctic Gold' X 'Hardgrove's
Hi John,
I ran the clip after sorting and got these results for the first several lines:
'Anne Hardgrove' X (#2 red(T. Ring) same as 'Anna Delp x 'Delp's Cindy Lou)
'Arctic Gold' X 'Hardgrove's
|
By
WV- Mike
·
#26199
·
|
|
Re: Removing duplicate entries
You can sort them using the menu - Modify lines, sort ascending.
Then, you can remove dupes with the following:
^!Jump 1
^!Replace "^(.+\R)\K\1" >> "" ARSW
Regards,
John
You can sort them using the menu - Modify lines, sort ascending.
Then, you can remove dupes with the following:
^!Jump 1
^!Replace "^(.+\R)\K\1" >> "" ARSW
Regards,
John
|
By
John Shotsky
·
#26198
·
|
|
Removing duplicate entries
I have a list of I want to remove duplicate entries in.
Can anyone help with a clip to accomplish this?
See: https://EpicRoadTrips.us/2021/rhodie_list/ww_rhodies_list.txt
Examples:
A. Bedford
A.
I have a list of I want to remove duplicate entries in.
Can anyone help with a clip to accomplish this?
See: https://EpicRoadTrips.us/2021/rhodie_list/ww_rhodies_list.txt
Examples:
A. Bedford
A.
|
By
WV- Mike
·
#26197
·
|
|
Re: File Compare
The latter you can.
Document | Second Window.
Lotta
The latter you can.
Document | Second Window.
Lotta
|
By
loro
·
#26196
·
|
|
Re: File Compare
Axel Berger wrote:
I didn't have it but found
http://www.pluralist.co.uk/learning/ict/processclips.html
Example Text Processing Clips - Adrian Worsfold
If so what it contains is a nice wrapper to
Axel Berger wrote:
I didn't have it but found
http://www.pluralist.co.uk/learning/ict/processclips.html
Example Text Processing Clips - Adrian Worsfold
If so what it contains is a nice wrapper to
|
By
Axel Berger
·
#26195
·
|
|
Re: File Compare
Thomas Gruber wrote:
Thanks, I'll look into it.
--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
X
Thomas Gruber wrote:
Thanks, I'll look into it.
--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
X
|
By
Axel Berger
·
#26194
·
|
|
Re: File Compare
Hi,
there’s a clip „Compare two files“ in the clip library „Text Processing“ that does what you want I believe. Works well. I agree that it’s surprising that such a function isn’t built
Hi,
there’s a clip „Compare two files“ in the clip library „Text Processing“ that does what you want I believe. Works well. I agree that it’s surprising that such a function isn’t built
|
By
Thomas Gruber
·
#26193
·
|
|
Re: File Compare
I've got a clip called ExamDiff.
IIRC it simply calls the ExamDiff program.
https://prestosoft.com/edp_examdiff.asp
Jo
I've got a clip called ExamDiff.
IIRC it simply calls the ExamDiff program.
https://prestosoft.com/edp_examdiff.asp
Jo
|
By
Sezor
·
#26192
·
|
|
Re: File Compare
John Shotsky wrote:
Alex Plantema wrote:
Thanks John and Alex, both good suggestions I'm sure.
As I said it's a rare need for me and only when I blundered beforehand. So
Totalcommander plus NT
John Shotsky wrote:
Alex Plantema wrote:
Thanks John and Alex, both good suggestions I'm sure.
As I said it's a rare need for me and only when I blundered beforehand. So
Totalcommander plus NT
|
By
Axel Berger
·
#26191
·
|
|
Re: File Compare
I use ComparIt for this purpose. It is not free, but it is by far the best I
have found.
https://www.grigsoft.com/ 50% discount right now.
My users all have a copy of this program, and my RecipeClips
I use ComparIt for this purpose. It is not free, but it is by far the best I
have found.
https://www.grigsoft.com/ 50% discount right now.
My users all have a copy of this program, and my RecipeClips
|
By
John Shotsky
·
#26190
·
|
|
Re: File Compare
Axel Berger schreef op 24-01-2021 22:18:
Ik use Winmerge for that: https://winmerge.org/
--
Alex.
Axel Berger schreef op 24-01-2021 22:18:
Ik use Winmerge for that: https://winmerge.org/
--
Alex.
|
By
Alex Plantema
·
#26189
·
|
|
File Compare
Am I missing something very obvious or is there really no way to compare
two files in NT and jump to the differences?
As use case is, when I have made different edits to copies of the same file
on
Am I missing something very obvious or is there really no way to compare
two files in NT and jump to the differences?
As use case is, when I have made different edits to copies of the same file
on
|
By
Axel Berger
·
#26188
·
|
|
Re: Help with RegEx. Finding paragraphs containing a string
Thank you, Flo. I knew it could be done and I knew you would know how. Now I just have to study this...
I so appreciate your help. I could have done it in a clip, but this way is so much cleaner and
Thank you, Flo. I knew it could be done and I knew you would know how. Now I just have to study this...
I so appreciate your help. I could have done it in a clip, but this way is so much cleaner and
|
By
joy8388608
·
#26187
·
|
|
Re: Help with RegEx. Finding paragraphs containing a string
Thanks but I'm still stuck. Unless I'm missing something, for the first suggestion, "@T@" IS the token I want.
For the second, it's the same problem but harder because now it's a negative
Thanks but I'm still stuck. Unless I'm missing something, for the first suggestion, "@T@" IS the token I want.
For the second, it's the same problem but harder because now it's a negative
|
By
joy8388608
·
#26186
·
|
|
Re: Help with RegEx. Finding paragraphs containing a string
Try...
^R:(.+\R)*.*@T@.*\R(.+\R)*
Regards,
Flo
Try...
^R:(.+\R)*.*@T@.*\R(.+\R)*
Regards,
Flo
|
By
Flo
·
#26185
·
|
|
Re: Help with RegEx. Finding paragraphs containing a string
John Shotsky wrote:
I'd begin with a Join lines to get rid of the pesky paragraphs. After that
you won't need a dotall any more and Joy's Regex should work.
And best wishes for whomever those data
John Shotsky wrote:
I'd begin with a Join lines to get rid of the pesky paragraphs. After that
you won't need a dotall any more and Joy's Regex should work.
And best wishes for whomever those data
|
By
Axel Berger
·
#26184
·
|
|
Re: Help with RegEx. Finding paragraphs containing a string
One way would be to add a token to the paragraphs that contain the text you want, then use getdoc to capture them, then remove the tokens.
Another would be to delete all the groups that don't contain
One way would be to add a token to the paragraphs that contain the text you want, then use getdoc to capture them, then remove the tokens.
Another would be to delete all the groups that don't contain
|
By
John Shotsky
·
#26183
·
|
|
Help with RegEx. Finding paragraphs containing a string
I'm having trouble with the RegEx to extract paragraphs containing a string.
For the following sample text, I would like to create a document containing
three paragraphs from the R: to the blank line
I'm having trouble with the RegEx to extract paragraphs containing a string.
For the following sample text, I would like to create a document containing
three paragraphs from the R: to the blank line
|
By
joy8388608
·
#26182
·
|