# split RIGHT BEFORE a \n followed by 'record' @records = split /(?=\nrecord)/, $data; [download]
In reply to Re: Regex not greedy enough by japhy in thread Regex not greedy enough by Boldra