Skip to content

Padding for matched group. #47013

@xky0007

Description

@xky0007

Description of the new feature / enhancement

Padding for matched group.

Scenario when this would be used?

Suppose I have files like

  • A1.MP4
  • A2.MP4
  • A3.MP4
  • A10.MP4
  • A11.MP1

I want to use (\d+), then update to S01A01.MP4,S01A02.MP4 and so on.
${1;padding=2}doesn't work here.

Supporting information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-PowerRenameRefers to the PowerRename PowerToy

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions