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

"ctsProfit WarningsAppointmentsPress ReleasesSecurity TransactionsEarnings reportsNew marketsNew productsCorporate strategiesLegal risksShare buybacksMergers and acquisitionsCall TranscriptsGuidance
Indexes

Currency / Forex

Commodities

Cryptocurrencies

ETF

Interest Rates

Economy

Themes
Asset ManagementActivismClimate and ESGCybersecurityGeopoliticsCentral BanksPrivate EquityInflationBusiness Leaders
Sectors

All our articles

Most Read News

Hot News

Analysis

All Analysis

Must Read

Equities

Indexes

Currencies

Commodities

Cryptocurrencies

Stock Trading Strategies
AllAmericaEuropeAsia
Our Shows

Shows

Strategy

Must Watch

Satirical Cartoon

Today's Editorial

Crypto Recap

Stock Picks

All our investments

United States

Europe

Asia, Pacific

Portfolios

Virtual Portfolios

USA Portfolio

European Portfolio

Asian Portfolio

Watchlists

My Watchlists
WatchlistsMy previous sessionMy most visitedMost popular
Investment Style
HomepageESG stocksYield stocksSmall capsDividend AristocratsMultibaggersTop ROE
Investment Themes
HomepageCybersecurityThe future of mobilityThe genomic revolutionFintechsE-Commerce & LogisticsThe food of tomorrow
Rankings

Top Movers
Top MoversUnusual volumesNew Historical HighsNew Historical LowsLong Term
Top Fundamentals
Top FundamentalsSales growthEarnings GrowthProfitabilityFinances
Rankings Valuation
Rankings ValuationP/E ratioEnterprise valueYield
Top Consensus
Top ConsensusAnalyst OpinionTarget priceEstimates RevisionsDivergence
Top Technicals
Top RSIGAPSSTIMBreakoutsTrendsVolatility
Top ranking ESG
Top ranking ESGEnvironmentSocialGovernance
Rankings Coverage

Screeners

Stock Screener Home

Investment Themes
Cloud ComputingThe genomic revolutionThe Golden Age of Video GamesDefenseSmart homeLet's all cycle!
Technical Rankings
Oversold stocksOverbought stocksClose to resistanceClose to supportAccumulation PhasesMost volatile stocks
Fundamental Rankings
Top Investor RatingTop Trading RatingTop ConsensusLow valuations
My Screeners
All my stocksWatchlistsVirtual Portfolios
Tools

MarketScreener tools
Stock ScreeneriPhone App
Expert tools
Stock Screener PROPortfolio CreatorEvent Screener
Dynamic Chart

Earnings Calendar

Economic Calendar

Currency Converter

ProRealTime Trading

Our Services

Our subscriptions

Our Stock Picks

Stock Screener

Thematic Investment Lists

MarketScreener Portfolios
European PortfolioUSA PortfolioAsian PortfolioMarkets
StockItalie
Enel S.p.A.ENEL S.