1

There are 1 best solutions below

5
On

Please use code instead of images to describe your problem.

As to your question, you can open the replace window with Ctrl + h then select "Regular expression" under "Search Mode".

Then search for the following:

((?:\S+\s){5})

This matches one or more non empty elements followed by a whitespace five times.
And replace it with the following (just adding a line break):

\1\n