Multi-Rename Tool Expansion Using Words

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Multi-Rename Tool Expansion Using Words

Post by *Phred »

I'm fairly sure there's no such capability with TC's MRT for expanding codes or expressions using words rather than numbers, but could someone possibly disabuse me otherwise?

I'm thinking of a group of files, say:
I'm - One.txt
Thinking - Two.txt
Of - Three.txt
A - Four.txt
Group - Five.txt
...as the result of a rename.

Excel has long had the inbuilt and configurable option of adding sequences - Monday, Tuesday, Wednesday, etc, as well as Jan, Feb, Mar.. and 001, 002, 003 etc - but I don't believe we have it here in TC.
I can't think of a way of getting Excel to do it on TC's behalf.

Whether there's such a capability lurking within RegEx or not, I don't know.
And yes, I appreciate there's lots of languages..
Anyone?
Regards, PhredE
User avatar
white
Power Member
Power Member
Posts: 5808
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Multi-Rename Tool Expansion Using Words

Post by *white »

You can do it without RegEx. Include a counter in the file mask and search and replace the counter with the value you want.
For example:

Code: Select all

Rename mask:   [N] - [C] -

Search for:    - 1 -|- 2 -|- 3 -|- 4 -|- 5 -|- 6 -|- 7 -|- 8 -|- 9 -|- 10 -
Replace with:  - One|- Two|- Three|- Four|- Five|- Six|- Seven|- Eight|- Nine|- Ten
Post Reply