|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,524
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Of course it can as long as the transforms are fixed rules and not "do some random thing". theducks gave you one solution in post 9.
|
![]() |
![]() |
![]() |
#17 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Like this, Ducks?
|
![]() |
![]() |
![]() |
#18 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
It doesn't seem to work.
|
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,524
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You must use "matches regex pattern".
|
![]() |
![]() |
![]() |
#20 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,474
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
In the two examples of C. S. Lewis and John Q. Smith, A single regex cannot fix both as they are too different. You can do regex for names that match C. S. Lewis and another regex that match John Q. Smith. Then you'd just create a new regex for any other name formats that you want to change that do not fit either of these two.
|
![]() |
![]() |
![]() |
#21 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Quote:
|
|
![]() |
![]() |
![]() |
#22 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
chaley,
i did use "matches regex pattern", didn't I? I mean, I'm comparing my screenshot with yours and it's the same. Could you run a test with your rule and tell me if it works for you? Coz it doesn't for me. |
![]() |
![]() |
![]() |
#23 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,276
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Quote:
your code works for C. S. Lew --> CS Lew But for Charles Q. Smith it becomes Ch arles Q. Smith (space between h and a. And dot after Q. isn't removed). Bob T. Johnson --> Bo b T. Johnson Bob A. B. Johnson --> Bo b A. B. Johnson |
|
![]() |
![]() |
![]() |
#25 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,206
Karma: 60406678
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Again: Why not use the Quality Check Plugin: to detect and FIX (that is where you also set the initials pattern desired)? I run the detect (Check Authors initials), then run Fix on the reviewed-selected results (there are some cases to NOT fix) |
|
![]() |
![]() |
![]() |
#26 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Quote:
![]() I have done that before. But I'd rather fix it as I download metadata. |
|
![]() |
![]() |
![]() |
#27 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
I discovered a problem with my peculiar standardizing of removing spaces and dots: when it searches for metadata (i.e., "Download Metadata", or Ctrl-D), it sometimes misses the books. I'm now rethinking whether I should continue doing this.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
hello from e charn lew | eric_charn_lew | Introduce Yourself | 1 | 03-25-2020 04:40 AM |
Other Fiction Tolstoi, Lew: Erzählungen [German] v2; 30.07.2017 | Karl May | ePub Books | 0 | 03-27-2017 01:28 PM |
Other Fiction Tolstoi, Lew: Auferstehung. [German]. 20-Nov-2010 | weatherwax | Kindle Books | 0 | 11-20-2010 10:07 AM |
Other Fiction Tolstoi, Lew: Auferstehung. [German]. 20-Nov-2010 | weatherwax | ePub Books | 0 | 11-20-2010 10:05 AM |
Wallace, Lew: Ben-Hur. v1. 9 May 07 | HarryT | BBeB/LRF Books | 5 | 05-10-2007 05:20 PM |