regex - EditPad: how use Replace with RegExp strings and Carriage Returns -
i have next text:
hola este es un test. test de regexp. super man es un héroe de comic. test nueva linea
and result expected if there dot (.), carriage return , word (a-za-z), put inside carriage returns. example:
hola este es un test. test de regexp. super man es un héroe de comic. test nueva linea
how do in editpad pro replace panel? think need use backreferences.
regex:
(\.\r?\n)([a-za-z])
or
(\.[\r\n]+)([a-za-z])
replace with:
\1\n\2
if \1
or \2
won't work use $1
, $2
instead.
Comments
Post a Comment