View Single Post
Old 04-14-2015, 07:23 PM   #1
LadyKate
Fanatic
LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.
 
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
Some regex help to clean up authors

I am looking for a way to search for double initials in the author field.

I use [A-Z]\.[A-Z]\. to search for names like F.I. Jones but [A-Z][A-Z] matches almost everything.

I can't seem to figure out how to look for FI Jones or AA Jones or AI Jones etc.

My understanding from the manual was that [A-Z] searched only for capitals but in practice it seems to match either upper or lower case. I tested this by searching for [a-z][A-Z][a-z] on a library in the author field and almost all authors were displayed.

Any ideas would be of help. I prefer to have all my author's initials displayes as I. I. Name or First I. Name etc. It makes author management easier.
LadyKate is offline   Reply With Quote