I have 3 files in one directory like below:
file_str_23.txt
file_jan_24.txt
file_feb_25.txt
Here I would like to replace the first file name 'file_str' with 'file_', so finally the file name should be 'file_23.txt'.
The problem is that I don't know the exact number in the file name, so I should go with 'file_str' string only.
How to do this?