I've a set of files named in the following manner:
_9978967868768763ghjgj7598983678hjva_week1-6.pdf _78637832bdsjh275637bkkaww786b_week12-32.pdf 8786767867868978713bkwkhjhkjqw_week1-622.pdf 867813567bdjsbgbadsyu6712353125561235_week100-6.pdf
I'm intersted in making use of
rename utility to obtain names:
week1-6.pdf week12-32.pdf week1-622.pdf week100-6.pdf
The regex to achieve that could be be:
which works fine (regex101):
How do I translate this syntax into rename's expression of format:
In effect, I want to delete first group.
I'm not interested in using
sed-based solution. I want to use
rename utility only.