How do I move a part of the filename that is in various positions

As you do not show us the filename variations, the answer is "probably".
Perhaps a look at the FAQs helps: