Hoping someone here is clever enough to figure this one out. I have a large number of files (900+) that need a text string replaced based on the filename. This isn't a simple Find & Replace for a static value. The table below is an example of what I'm trying to do. As you can see, there is a very specific find & replace value I'm working with for each file. I've done something similar in Excel plus command line for filename changes but this one is above my skill level. As always, any help is appreciated. Thanks!
filename | Search Value | Replacement Value |
file1.xml | Subscription/Movies & Series/ChannelName/Series/Drama | Subscription/Movies & Series/ChannelName/Series/Drama/1992: Berlusconi Rising/Season 1 |
file2.xml | Subscription/Movies & Series/ChannelName/Series/Drama | Subscription/Movies & Series/ChannelName/Series/Drama/1993: Berlusconi Rising/Season 1 |
file3.xml | Subscription/Movies & Series/ChannelName/Series/Educational | Subscription/Movies & Series/ChannelName/Series/Educational/A Cure for Fear/Season 1 |
file4.xml | Subscription/Movies & Series/ChannelName/Series/Comedy | Subscription/Movies & Series/ChannelName/Series/Comedy/aka Wyatt Cenac/Season 1 |