![]() |
#1 |
Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 70
Karma: 12802
Join Date: Apr 2014
Device: none
|
Find Repeated/Duplicate Text
Is there a way to find (and possibly highlight) repeated word groups in ePubs?
|
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,271
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
try
(\w+)\s\1 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 70
Karma: 12802
Join Date: Apr 2014
Device: none
|
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,271
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Code:
\s(\w+)\s\1\s |
|
![]() |
![]() |
![]() |
#5 | |
Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 70
Karma: 12802
Join Date: Apr 2014
Device: none
|
Quote:
Sorry if I was unclear. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,840
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@mikapanja - Do you want to find and highlight all occurrences of let's say: "cathode ray tube" ?
BR Last edited by BetterRed; 05-17-2024 at 08:52 PM. |
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,271
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Actually, Spell check can do that.
remove the tick for only misspelled words Double click on the word (left side), repeat it (the d-click) jumps to the next occurrence |
![]() |
![]() |
![]() |
#8 |
Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 70
Karma: 12802
Join Date: Apr 2014
Device: none
|
|
![]() |
![]() |
![]() |
#9 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,840
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Sigil's PageEdit might be a better starting point, it's a lightweight wysiwyg content editor. I'll have a look-see
BR Last edited by BetterRed; 05-17-2024 at 09:45 PM. |
![]() |
![]() |
![]() |
#10 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,840
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There's no such functionality. You would need to write a plugin for it.
|
![]() |
![]() |
![]() |
#12 | |
Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 70
Karma: 12802
Join Date: Apr 2014
Device: none
|
Quote:
It would also be useful to be able to define the group size (say, 3-5 words, or 3 words and larger). I was hoping one of our resident experts could come up with a relevant regex or function. I know it's doable in Word via macro, albeit on a sentence level. |
|
![]() |
![]() |
![]() |
#13 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,840
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
And when you've done, set Highlight to None and repeat F&R. BR |
|
![]() |
![]() |
![]() |
#14 | |
Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 70
Karma: 12802
Join Date: Apr 2014
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Repeated text after page turn. | Pawel1212 | Onyx Boox | 6 | 01-13-2023 03:09 AM |
Replace repeated item with the number of times it is repeated | 1v4n0 | Sigil | 3 | 04-01-2021 04:41 PM |
Find duplicate books | MOJOJE | Library Management | 1 | 08-13-2020 05:59 PM |
Repeated text pdf to epub conversion | magicman1223 | Conversion | 3 | 04-25-2014 02:02 PM |
Find duplicate books... | silentguy | Calibre | 10 | 12-10-2010 11:03 AM |