Quote:
Originally Posted by roger64
Is this correct? I tried it, it finds nothing...
search=[^</a>]</sup>\s[^(et\s|de\s)]
replace=</sup>\u202F
|
No. It's wrong. [^</a>] means "Match one(!) character if t is not "<" and not "/" and not "a" and not ">". What you meant is the negative lookbehind
Without testing (I can't run sigil on my computer), I'd assume that your regexp should be:
Code:
search=(?<!</a>)</sup>\s(?!(et|de)\s)
replace=</sup>\u202F