MuRenameTool: Remove varying number of trailing characters

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
spikey
Member
Member
Posts: 123
Joined: 2005-07-20, 08:37 UTC

MuRenameTool: Remove varying number of trailing characters

Post by *spikey »

I would like to remove the trailing characters Tumblr attaches to its file names. For example Tumbler uses:

xxxxx_400
xxxxx_500
xxxxx_1000
xxxxx_1280

I would like to remove everything after (and including) the underscore shown above.

I thought about TC's "Search and Replace" using a search string of "_????"

Unfortunately I can't restrict the search to only the file name. This means that the fourth "?" gets applied to the extension which is not what I want. Can anyone kindly suggest how to do this.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

spikey,
Try unchecking [E].

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

spikey,
Also I would use regex _\d+$ instead of just mask to allow only numeric matches at the end of names.
Post Reply