(.*[\r\n]+)
I think you need to be far more specific to tell the RE engine to skip exactly six lines. I would specifically exclude newlines in the .* part and explicitly require a newline \n to delimit a line:
([^\n]*\r?\n){6}
In reply to Re: Regex find and replace involving new line
by Corion
in thread Regex find and replace involving new line
by PRA007
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |