Hi all, it has been a while since I asked a question here, I hop all is well, I have a question regarding regex, How can i replace a filenames with dates, now i know how to, i use this vb.net method: fileName.Replace(".pdf", now.ToString("_yyy_MM_dd") + “.pdf”), however i wish to use the asterisk (*) so that i can replace any filename with the current date. so if the file name is abcdf.pdf i want it to be renamed as New file name:_2020_05_07.pdf, Note, the folder might contain multiple PDF files with different names.
Thank you in advance for the support.