Renumbering and deletion; simple (probably) question!

Advanced Renamer forum
#1 : 28/11-18 19:16
Paul Ortiz
Paul Ortiz
Posts: 1
Hey everyone! Quick one here. So I'm processing a large number of files that all need various things deleting or changing. Here are two examples:

DH-ALIBI-CheerPop1-165BPM-DrumAndBassMix-15s
DH-ALIBI-CheerPop10-195BPM-DrumAndBassMix-15s

So if I wanted to delete all instances of xxxBPM, how would I do that? I can't remove from a set location as any songs from 1-9 will have the BPM count 1 position further to the left. I thought of maybe renumbering everything so that all numbers from 1-9 are in the 01, 02, 03 etc. format, which I also don't know how to do. Although that seems like one step too many. What I imagine I'd need to do is look for any word within a name containing BPM, and delete it. Any ideas? Thanks so much in advance for your help!

- Paul

*Edit: managed to do it with \d\d\dBPM - is that right?


28/11-18 19:16 - edited 28/11-18 19:31
#2 : 08/12-18 14:44
David Lee
David Lee
Posts: 1125
Reply to #1:
\d+BPM- would be more general - it will match one or more decimal digits rather than just three - also you probably want to remove the duplicate hyphen as well.


08/12-18 14:44