Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples of Automatic renames #5

Open
9812ga98sd opened this issue Oct 23, 2024 · 3 comments
Open

Examples of Automatic renames #5

9812ga98sd opened this issue Oct 23, 2024 · 3 comments

Comments

@9812ga98sd
Copy link

Please could you show examples of automatic renaming? Thank you.

@kwaschny
Copy link
Owner

There are screenshots on my website.

@9812ga98sd
Copy link
Author

Those screenhots do not show the regex used to rename.
what are the regex expressions used please.
for example i want to rename 4 windows with all the same name and simply replace with a number?

@kwaschny
Copy link
Owner

for example i want to rename 4 windows with all the same name and simply replace with a number?

Automatic numbering isn't supported. You can capture using parentheses and backreference via \1 to \9.

Example

Rename TaskBarRenamer 0.4 to [0.4] My TB-Renamer via RegExp:

  • Rename this: ^TaskBar(Renamer) ([0-9]+\.[0-9]+)$
  • to this: [\2] My TB-\1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants