I take it you're extracting, using a proper re-name util, then re-packing.
Search : (.*pg)\d{1,3}(\.jpg)
(stores all upto (and including) 'pg', discard the next digits, store extension)
Replace \1<whatever inserts counter>\2
so if ? is a number counter char \1???\2
(or depending on regex you'd need $ instead of \ for group replacement.
Last edited by Perkin; 02-02-2013 at 09:57 AM.
|