in reply to I need to regex multiple lines

Structural Regular Expressions to the rescue!. Assign $/ to the delimiter of the values (the empty string - '' - might do here), which would gulp each part and not the whole file.

Software speaks in tongues of man.
Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphores.