Extract a string from another string

i have string like this “ CustomerName_Report_DDMMYYYY.xlsx/.pdf ”
from which i need to extract YYYY
file name : Chandler Bing_Report_25072019.pdf
extracted info : 2019
how can i do it?

i dont want (.) to be included


1 Like

thankyou :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.