Skip to content

Feature Request: Add AI-assisted natural language support for PowerRename (auto-generate regex) #40040

@maria2580

Description

@maria2580

Description of the new feature / enhancement

Describe the problem:
PowerRename is a powerful tool, but it relies heavily on regular expressions (regex) for advanced renaming tasks. Regex is often intimidating and inaccessible for non-technical users, making many of the features underutilized or error-prone.

Proposed solution:
Introduce an optional AI assistant panel in PowerRename that lets users describe how they want to rename files using plain English (natural language). The assistant would then generate the appropriate regex and replacement string.

Benefits:
Makes PowerRename much more accessible to a wider audience
Reduces the chance of mistakes from poorly written regex
Bridges the gap between user intent and actual file renaming rules

Alternatives considered:
Using external rename tools with scripting support
Creating rename templates (which still require regex knowledge)

Scenario when this would be used?

Example workflow:
User types: "Remove [number] at the beginning of the file name"
PowerRename AI translates this to:
Find: ^[\d+]\s*
Replace: (leave blank)
Preview updates like usual, with option to tweak regex manually
Optional additions:
Display a brief explanation of what the generated regex does
Let users choose common presets like: “remove brackets”, “keep only date”, “convert spaces to underscores”, etc.
Toggle between "Simple" and "Advanced" mode

Supporting information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageFor issues raised to be triaged and prioritized by internal Microsoft teams

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions