Problem making a button from a RENAME Thingy

I have batch-rename defined which does this:

Old Name
([0-9][0-9][0-9][0-9][0-9][0-9][0-9]_)(.)(..)

New Name:
\2.txt

It gets rid of 7 digits and a _ at the beginning of the filename

example:

2175650_TTC_-_Biology__The_Science_of_Life.txt

turns into

TTC_-_Biology__The_Science_of_Life.txt

This works fine in the rename process. But have not been able to create a button which would do the exact same thing for me.

Any solution for me?

Best regards!

Rename PATTERN="([0-9][0-9][0-9][0-9][0-9][0-9][0-9]_)(.*)(\..*)" TO="\2.txt" REGEXP

There are a few similar examples in my Getting to know... tutorial.

Cool! Will give it a try once I get home ( and also check out your tutorial ). Thanks!!

I linked to page 4 BTW. Scroll up for the table of contents if you want to start from the beginning of it.

Thanks! Works like a charm - I am very happy camper now :laughing: