On the keyboard, press Ctrl + H to open the Find and Replace dialog box, with the Replace tab active. On the Replace tab, click in the Find What box. On the keyboard, press Ctrl + J to enter the line break character.
Press ALT+ENTER to insert the line break.
In your Notepad++ window, click the “Edit” menu and select Blank Operations > EOL to Space. Here, EOL means “End of Line,” and this option converts the invisible newline characters into spaces. After that, you'll find that all your items are now on a single line separated by a space.
],\s*
],\n
Let's assume
],
is the character where we wanted to break at
notePad++
Find window
Ctrl+F Replace
TabSearch Mode
to Extended
],
in Find What
field\n
in Replace with
field Replace All
Try this way. It got worked for me
ctrl + h
If the text contains \r\n that need to be converted into new lines use the 'Extended' or 'Regular expression' modes and escape the backslash character in 'Find what':
Find what: \\r\\n
Replace with: \r\n
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With