- Ctrl + H
- Encontre o que:
\R(?!\R)
- Substituir por:
LEAVE EMPTY
- check Embrulhe
- verificar expressão regular
- Substituir todos
Explicação:
\R : any kind of linebreak
(?!\R) : negative lookahead, make sure we don't have another linebreak after
Resultado para o exemplo dado:
firstname:lastname=====[Age]: Answer[Sex]: Answer[Height]: Answer[Shoe]: Answer=====
firstname:lastname=====[Age]: Answer[Sex]: Answer[Height]: Answer[Shoe]: Answer=====
firstname:lastname=====[Age]: Answer[Sex]: Answer[Height]: Answer[Shoe]: Answer=====