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

Popular posts from this blog

javascript - React.js: onClick function from child to parent -

javascript - How to diff two immutable objects -

c# - How can I have the VS Debugger break in the correct location for exceptions thrown in Async methods in a Console App? -