Thanks, working!!
I can't see those options in the manual (15.10.4 Query Replace) and the
help is a little bit obscure for me, a new rabbit hole to study ;D
Thanks!
El 12/11/2022 a las 16:31, alain.coch...@unistra.fr escribió:
Ypo writes on Sat 12 Nov 2022 15:42:
> Hi
>
> I am copy-pasting e-books into org-mode to read and study them.
>
> Usually, words come hyphenated, like "ato- mized", that I wanted to
> transform into "atomized".
>
> I am trying with query replace, but I am starting to think that it is
> not the correct tool for this job.
> I tried "query-replace [a-z]-" but I don't know how to exclude the
> letter before the "-".
I don't really understand the thing with e-books but as for
transforming "ato- mized" (or "ato-mized") into "atomized", how about
something like
query-replace-regex
\([a-z]\)-[[:blank:]]*\([a-z]\)
\1\2