How to Get the date from an Excel File Name

@Kunal_Jain

Use copy file and then give the new name as below

Say the filename is in variable var1 then

System.text.regularexpressions.regex.Replace(var1,"\d{2}-\d{2}-\d{4}",Now.ToString("MM-dd-yyyy"))

Cheers