

The regex \X* matches all the remainder characters ( may be NUL ), till the end of your file +\R matches the first NON zero line, ONLY, after the line with dashes ( any number, > 0, of standard characters, followed by the End of Line character(s) ) The regex \X+-\R matches any NON zero amount of ANY character ( Standard OR End of Line ), till the three dashes, with the End of Line character(s) The regex ^\R matches the first blank line found, with its End of Line character(s)


The general idea, about this regex, was to match all the text, from the first blank line found, till the end of the file, splitting it, in the four consecutive zones : If p is greater than 10 you can, either, hit, continuously, the ALT + A shortcut ! You'll stop when you get the message Replace All: 0 occurrence was replaced, at the bottom the Replace dialog
