RFE: Add a ‘Rename’ DAT that’s similar to the Rename CHOP. Include a selection. Give user the option to use simplified syntax or full regex (this is important, as the simplified syntax in the Rename CHOP is too limiting).
Try out the Substitute DAT, it’s pretty much exactly that
You’re right, it’s close, but the pattern matching is a limited subset of regular expression matching, and the replacement is a simple string.
To match, say, 2 lowercase letters followed by 4 digits, is going to be a pain [abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyz][0-9][0-9][0-9][0-9]
(according to the manual, [a-z] is not supported).
And what if I want to use the lowercase letters to match, but not substitute them? Or if I want to reorder two lowercase followed by two uppercase so that I end up with two uppercase and the two lowercase?
I’m all for having a “simple” substitution mode that takes care of 80% of the needs, but it’s those last 20% that would benefit from a full regex toolset.