I'm trying to copy files into a directory and changing the file names when it copies, the sources are like this:
PSZLEDSTB3001 rev 1 Instruction 2P FL.PDF
PSZLEDSTB2041 Instruction 4P FS.pdf
CAZLEDHDL1364 Instruction 1P FX.pdf
Where I need to replace from " Instruction*.pdf or PDF" to " Instruction Manual.pdf" then replace all the "spaces" to underscores. So the end result for the list above would be like:
PSZLEDSTB3001_rev_1_Instruction_Manual.pdf
PSZLEDSTB2041_Instruction_Manual.pdf
CAZLEDHDL1364_Instruction_Manual.pdf
Using wildcards in the replace string doesn't work. Can someone give me some help?
Edited by moderator
2016-12-27T12:14:50Z
|
Reason: Not specified