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

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -