1
I am using Notepad++ and need to find a way (a macro maybe) to insert a line break every 79 characters. An important observation is that the line break at the end of each 79 characters cannot be done after a blank space and at the beginning of the other line cannot start with white space.
Does a find/replace with a regex not work? Test this regex:
(.{79})
and have been replaced by$1\n
and it worked. I did this test on Sublime Text, but I think it’s similar.– Wakim
@Wakim, tested on Notepad++ 6.5.1 and ran puts as answer :).
– rray