Skip to content

[Power Rename] Add incrementing number (counter) RegEx feature #5833

Description

@qsek1

It is essential to be able to use incrementing numbers for file renaming.
You already have the Enumerate Item option, but it is limited and sometimes not suitable.
For example what if i wanted my counter start at 15, or i don't want the encapsulating round brackets.

Please consider implementing the Regular Expression Counter Operations:
https://www.funduc.com/regexp.htm#Regular%20Expression%20Counters
http://searchandreplace.helpmax.net/en/regular-expressions/regular-expression-counters/

It is in the format %1>15> (which substitutes $1) and means: use the first match in the expression and increment each match starting with number 15.
If no starting value is given %1>> would use the starting value of the first match found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help WantedWe encourage anyone to jump in on these and submit a PR.Idea-EnhancementNew feature or request on an existing productProduct-PowerRenameRefers to the PowerRename PowerToyResolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    Status
    ⚠️Needs Walkthrough

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions