Can we change the text vrom left to right automatically to up to down ?

Hi, I would like to know if there is any way or function to change a text like this :

ABC CBD DSS DSQ JHI POH XHZ HOX HSG (Left to right…)

Automatically to this :

ABC

CBD

DSS

DSQ

JHI

POH

XHZ

HOX

HSG

(Up to down… Space converted to jump paragraph… You “ask.libreoffice.org” “editor” have a problem and we need to use a space {enter} between terms…)

Please I need it, if we can’t can you please add this feature fast please (with possibilty to choose no space {enter} or one or two between vertical terms)…

Tʰang 帑 كتأنجى you very chum… Good day…

Hallo

→Edit→Search&replace
→search: \w+
→replace: $0\n
→→more Options [x]regular Expression
→→replace all

@Nemzag (Comment):
Youre free to record the Steps above ( →Tools→Macros→record_Macro )*** and bind the recorded Routine to some shortcut, Button or Menuentry

***Maybe you need first to enable recording macros via →Tools→Options→LO→[extendet|advanced]?

Tʰang 帑 كتأنجى you, but it would be cool that this function to be added directly in Write automatically… Good day…

No, that would not be cool
( if the Devs would implement any cool idea of any user, nobody would be able to work with the huge mess )
But, see edited Answer…

Hi @karolus - Are there any reason not to search \W+ replace by \n ?

@PYS - of course your suggestion is also valid, as some other expressions, maybe yours is slightly better because \W+ matches on any whitespace including other split word-characters like ,.;:()..

@karolus - Ok, thank you for your answer, I wondered if there was a scenario I do not see …

I Karolus Yinq, here is Clarifiqsu Vêšêlo Bashshallênë Shalovuniqa Yang…

I tested your “function” and is not working well, the command even divide term using an non-breaking hyphen / minus (U+2011)… And also the punctuation is separated & parentheses to and vor me it is not practical…

Example :

ÉGÔ

VIØXË DËDË‑MAND‑ÉRË MÊNΘA‑ALÉ‑ISË À ALÉHI.

“QWË VEUT TI DË MOI ???”…

ET ALORS ETRANGËMÊNΘË.

ET SHUPRË‑PRÊNA‑MÊNΘË (surprêë‑nament)!

ADË‑PARUË CECI!!!

KÊTTË CASË… (U+2026)

“WÊDDË‑JANGË” ۋادديأنجى

That become :

ÉGÔ

VIØXË

DËDË

‑MAND

‑ÉRË

MÊNΘA

‑ALÉ

‑ISË

À

ALÉHI

.

"QWË

VEUT

TI

MOI

???"…

ET

ALORS

ETRANGËMÊNΘË

.

ET

SHUPRË

‑PRÊNA

‑MÊNΘË

(surprêë

‑nament

)!

ADË

‑PARUË

CECI

!!!

KÊTTË

CASË

… (U

+2026

)

"WÊDDË

‑JANGË

" ۋادديأنجى

The result is not quite good how to improve the function to avoid division of Non-breaking hyphen, punctuation (! , ; . … … ? ) & parenthesis ?

I still asking and I insist that this function to be added in Paragraph, like Microsoft Office Excel : alignment / orientation… It would be very useful than using a complicated equation, that I have difficult to remember since I have memory problems…

Tʰang 帑 كتأنجى you vor ħêlph حلف.

Ok – try with:
search ( |\t)+
replace \n

“… that this function to be added in Paragraph, like Microsoft Office Excel : alignment / orientation…”

I cannot understand how Excel comes in.

Tʰang 帑 كتأنجى, Lupp, I cite Excel as an example… Nothing difficult to comprehend… Good day.

@Nemzag : You tagged this thread ‘Writer’ which is the text processor module of LibreOffice. Your examples are text, and not just a cell’s content, I hope. Excel is a spreadsheet application as comparable to ‘Calc’. No feature as you are talking of can work the same way in a spreadsheet and in a text document. This should actually not be difficult to comprehend. You may “insist” on whatever you want. It will not work.if it is basically inconsistnt. Over.