Google search brought me to How to insert a line break every 5 rows in Excel/Word/Notepad++?
Using the suggested regex from the above source, replace the number 5 with x and replace \n with any text.
For example, to insert a commit; after every 100 lines in a sql script. This would be the regex -
Find : ((.*\s*\n\s*){100})
Replace : $1commit;\n
Using the suggested regex from the above source, replace the number 5 with x and replace \n with any text.
For example, to insert a commit; after every 100 lines in a sql script. This would be the regex -
Find : ((.*\s*\n\s*){100})
Replace : $1commit;\n