Pretty sure this is a feature that doesn't exist in any file rename utility but just in case it is possible.
I have an auto export of emails using a coded job number in the form of mycompany-JN1234
the number is enforced on all emails being sent and when encountered the auto email export will save emails into a folder labeled 1234
I need to search a different folder where jobs are saved with the following structure:
client A
-1234 blah blah blah
-1237 blah blah meow
client B
-5678 blah blah woof
-3459 blah blah gg sir
So when it finds the matching 1234 it will rename the folder from 1234 to 1234 blah blah blah