I have the following text:
TRANSACTION YEAR 2023 0.00
TRANSACTION YEAR 2024 0.00
TRANSACTION YEAR 2025 0.00
And I would like to return the following:
2023
2024
2025
I have the following expression by it only returns 2023?:
“(?<=TRANSACTIONsYEARs)(.*?(?=s))”
I need the expressions to separately return: 2023, 2024, 2025
New contributor
Hendrik Wessels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.