View Single Post
Old 11-05-2018, 08:55 PM   #13
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
How about changing the comma in the names to something else? Ideally, a character that looks like a comma, but, calibre won't treat as a comma. I'm to lazy to work out the best character, so I've done this with an "@"

Code:
{:'re(list_re(re(author_links(":", " & "),",","@"), " & ", ".*?([^:]+):?$", "\1"),"&",",")'}
That gets pretty close to what I think you want.
davidfor is offline   Reply With Quote