Hi, I am trying to get the data after Last PAY Amount up to Adjustments.
The following regex not doing it. Can you help please? Many thanks,
(?<=EMPLOYEE\s)[.*[\n]]+(?=^(?:Adjustments))
EMPLOYEE NUMBER CYCLE PAY DATE RECEIVED DATE Last PAY Amount 62379.25
123456-7891234 10-03 4/12/2023 6/04/2023 Payments -12123.73
Adjustments 0.00
Rate Class: Balance Forward 0.00
Explanation -
(?<=Last PAY Amount\s*) → Look a head which looks after this text
.* → Matches any character which of 0 or more
\n+ → Will move to next line
.* → Matches any character which of 0 or more