D
D
dariay2019-01-11 21:59:25
Notepad++
dariay, 2019-01-11 21:59:25

How to group 5 lines into one?

Hello. In the txt document, each word from a new line, like this:
mom,
soap,
frame,
mom,
soap,
frame,
and another 3000 lines
, you need to make 5 words in one line without a space, separated by commas.
Help me please.
need

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2019-01-11
@dariay

Find: ^(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)
Replace: $1$2$3$4$5
https://regex101.com/r/fARAME/1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question