in reply to Re: Multiline regex
in thread Multiline regex

Due to confidentiality reasons i can't post the data i'm working on, it works almost perfect, except it still gets the unwanted_line3=text but not other lines after that, so it just needs a slight adjustement. Thank you kindly, sir!

Replies are listed 'Best First'.
Re^3: Multiline regex
by hippo (Archbishop) on Jun 22, 2016 at 12:47 UTC

    Did you add in the question mark as Eily suggested? If you can't provide an equivalent sample dataset which shows the problem it's going to be very difficult to assist you further, unfortunately.

      Yes, that was the problem, the greedy capture was including that line too. thank you, again!