Page 1 of 1

Shuffling part of file name

PostPosted: Tue Sep 12, 2017 3:30 pm
by burnsey
Hi,

I know there are a couple of topics on this already, but can't figure it out, sorry!

I have some files in this format: "123 YE1 ag" and "123 YE1 l". YE1 goes up to YE9. In other folders, YE is replaced with other characters, including numbers. The first 3 numbers and final letters stay the same.

I'd like to shuffle the "ag" or "l" to be after 123, i.e. "123 ag YE1" and "123 l YE1". How do I do this?

Thanks.

Re: Shuffling part of file name

PostPosted: Thu Sep 14, 2017 4:14 am
by therube
1:RegEx
Code: Select all
Match:  (.+) (.+) (.+)
Replace:  \1 \3 \2