How to rename files in a directory such as the following file: PMC21375.pdf.txt, I need to be renamed to  21375.txt. i.e, I need to remove both PMC and pdf from each file name.
Rename files in directory
rename