I have files added to a watched folder; when they are added, they'll look something like this:
Workbook.719.username.txt
I would like for them to be renamed as something like this:
Workbook.Chapter7Unit19.username.txt
The catch is that I don't know what the three-digit string will be when a file is added; it could be any combination of numbers. Futhermore, "Workbook" is not always at the beginning; it could be any word(s) as well. How can I get Hazel to look for a three digit string, remember what it is, and then insert "Chapter" and "Unit" at the desired place within the string?