Delete blank lines

0

I have text that has a structure like this:

AJUSTE_ESTOQUE

AJUSTE_PRODUCAO

AJUSTE_QUALIDADE

AMOSTRA

I've made a regex ( ^\s*$ ) to find these blank lines, how can I remove them so that each word is underneath the other? I'm using sublime for this work.

    
asked by anonymous 11.04.2017 / 13:45

1 answer

1

Press the shortcut CTRL + H or enter Find / Replace . Search for ^\s* in the Find What field and replace with nothing (leave the Replace With field blank).

Make sure to enable regular expression search using the E button.

PresstheReplaceAllbuttonandyourresultwillbe:

AJUSTE_ESTOQUE AJUSTE_PRODUCAO AJUSTE_QUALIDADE AMOSTRA
  

Some terms may vary depending on the language used in the editor.

    
11.04.2017 / 14:06