capturing groups & back references in Rename Chop regex

I would love it if the regular expressions in several nodes also supported capturing groups & back references, this would enable powerful operations.

The use case is that quite often I have to do a bit complicated rename operations and need a whole string of Rename CHOPs to get to my goal - this feature would make that easier and a bit faster.

Prime candidates for this feature would be the Rename Chop and the Substitute DAT, maybe there are other nodes as well.

Here an example how it could work for the Rename Chop:

With () parentheses you can mark multiple capturing groups. With a numbered dollarsign you reference those groups.

Not sure if this is applicable, but there is some simple grouping now.

Example:

From: :
To: (1):(0)

Will swap words before and after the colon :

That and other examples can be found in ‘Sample Naming Patterns’
derivative.ca/wiki099/index. … ename_CHOP

Does that address your example?

hahaha o my, so it has been available for years - and I have never noticed that line in the wiki - I feel quite stupid now :mrgreen:
Yes, this is almost exactly what I mean - and it works good enough for me.
Thanks Rob!