Thank you for the quick find for most initials problems.
I am still trying to figure out how regex in calibre search works as I use regular expressions a lot when editing html and it is logical to clean up titles and authors using it.
For Instance, I really want to search for the case of "Aa " in authors as it occurs frequently enough that the second initial is mistakenly in lower case. I just am having a bit of a time getting the regex to match "Aa " versus darn near everything.
For instance. How do I use regex to search for AA Name? If I use [A-Z][A-Z] [A-Z]. which I expect to match to AA Name it matches "Orbit Various Authors" and "Various Author" as well as the expected "AA Name".
As two uppercase characters followed by a space, an uppercase character and then anything is how I translate the search string the results confuses me.
I guess I'm looking for a lot more info about how regex works inside calibre as compared to in say edit pad pro.
|