Page MenuHome

Batch Rename: Regex group support
Closed, ResolvedPublicTO DO



Allow for more flexible string manipulation.


Current regex only supports matching inputs, so you can for example replace:

[A-Z][A-Za-z0-9_]* > SomeText.

However supporting groups would be useful, eg:

([A-Za-z0-9]+)_([A-Za-z0-9]+) > \2_\1.

Would rename Foo_Bar to Bar_Foo.

We would likely have a second regular expression option for the "Replace" field, so the current basic matching would still be possible.