View Single Post
Old 07-16-2020, 04:49 AM   #3
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
I think you want:

Code:
^(Littérature)\s[a-km-zA-K-MZ].*
That assumes that it is two words separated by a single space. And the replace should be:

Code:
\1 étrangère
But, that doesn't handle any accented characters or numbers. And I'm curious about why the L is omitted. I'd probably do:

Code:
^(Littérature)\s.*
With the same replace. That would cover the word you want followed by anything.

If neither of these work, we'd need to see some actual examples to look at.
davidfor is offline   Reply With Quote