Sublime Forum

Regex: Put all sentences from Column\Tabs on a single Line

#1

hello. I have 2 columns or maybe two sentences separated by tabs. Every sentence is separated by tab and divided under one another.

To understand much better my problem, please take a look at the print screen.

So, I want to put those 2 sentence in one single line, after the other, without being separated by tabs or space.

I try this regex, but it is not very good, because mix them in instead to put side by side.

Search:
\s+(.*?)
Replace by:
leave a space

Can anyone help me with another solution?

0 Likes

#2

to understand much better what I want to do, see this 2 print screen:

BEFORE: https://snag.gy/eqfgTD.jpg

AFTER: https://snag.gy/bzWi4S.jpg

those are spaces (not tabs) in between sentences. Or both. Don’t know for sure.

0 Likes