View Single Post
Old 07-09-2020, 04:48 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,737
Karma: 169712580
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by droopy View Post
I'd like downloaded author metadata to remove the spaces and dots in the initials of author names.

For example, "C. S. Lewis" should automagically appear as "CS Lewis".

"John Q. Smith" should autoconvert to "John Q Smith"

I select a row, press Control-D, choose "Configure Download", click "Create Rules to transform author names", click "Add rule". But now I'm stuck. I'm guessing I should choose "matches regex pattern". But I don't know what to put in the next two blanks.

Can someone please tell me what I should have in these blanks?
You could use the Quality Check plugin to reformat author initials. Customize the plugin to say author initials should be AB which will remove spaces and periods.

BTW, C. S. Lewis used both spaces and periods in his signature as in the one from a scan of one of his letters.
Attached Thumbnails
Click image for larger version

Name:	c-s-lewis-signature2.png
Views:	180
Size:	9.1 KB
ID:	180514  

Last edited by DNSB; 07-09-2020 at 04:51 PM.
DNSB is offline   Reply With Quote