in reply to Re: How can I build regexp with "not" assertion?
in thread How can I build regexp with "not" assertion?

Thank you, but sorry, it work in wrong way. I tried this, but got
1stline....subst... 1a line....subst.....
I mean it substituted all in parenthesis this way:
1stline....(pattern1.......pattern1..... 2ndline....pattern1.....pattern2...pattern1)...
I CAN'T split it in lines, i must treat all dada as a single line because \n may appear in any place