Write a javascript function that extracts the first year of the financials from the string below.

"copyright 2022
s


Calendar


Company


Financials


Consensus


Revisions


Funds and ETFs


Financials

EURUSD


Sales 2023 *

110 B

122 B
Sales 2024 *

110 B

123 B
Capitalization
63 192 M

70 411 M

Net income 2023 *

5,970 M

6,652 M
Net income 2024 *

6,533 M

7,279 M
EV / Sales 2023 *
1,07x

Net Debt
2023
*


53,933 M

60,094 M

Net Debt
2024
*


54,398 M

60,612 M
EV / Sales 2024 *
1,07x
P/E ratio 2023 *

10,5x
P/E ratio 2024 *

9,52x
Employees
65,718
Yield 2023 *

6,89%
Yield 2024 *

6,94%
Free-Float76.34%

More Fundamentals
* Assessed data


Chart Enel S.p.A.


Duration
1 day1 week1 month3 months6"
 Write exactly 6 paragraphs each separated with two new lines answering this question. The first paragraph must start with "proactive".
user