V
V
Vadim Solovyov2018-10-05 11:52:04
excel
Vadim Solovyov, 2018-10-05 11:52:04

How to automatically merge many double strings into one?

5bb725dde1924154052173.gif

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
idShura, 2018-10-05
@VadimSoloviev

For sublime-text
1. Ctrl+F
2. Alt+R (If regular expression search is not active)
3. In the search bar, enter the regular expression (.*(\n|$)){2}
4. Press Alt+Enter
5. Press the left arrow to get rid of the selection and leave only the cursors.
After all the manipulations, all odd lines will be selected. If you want to highlight the even ones, click the down arrow.
And then, as in your GIF, you combine the lines (using backspace or ctrl + J) and put a space.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question