View Single Post
Old 01-13-2023, 09:06 AM   #6
aurigod
Enthusiast
aurigod began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Oct 2012
Location: Lyon [France]
Device: JuliusvonJD
It works like this in "Edit Book" or "Search & replace" of "Convert book"

([^–«—])\xa0([^!?;:»]) => \1\x20\2
and to change normal into nbps
- before ! ? ; :»
\x20([!?;:»]) => \xa0\1
- After – — «
([–«—])\x20 => \1\xa0


The code a0 of the nbps is not found in the test (all spaces are shown).

Last edited by aurigod; 01-15-2023 at 03:13 AM.
aurigod is offline   Reply With Quote