Hello
Given input:
ABCDEFGHIJKLMNOPQRSTUVWXYX_Hello there.jpg
do you really want a) string with period at end but extension:
ABCDEF Hello there.
or b) string without peroid and extension:
ABCDEF Hello there
or c) string with extension:
ABCDEF Hello there.jpg
?
According to the following page regarding regular expression in A Better Finder Rename 7:
http://www.publicspace.net/ABetterFinderRename/Manual_RegularExpressionsPrimer.h tml
find and replace expressions below would work:
For a),
matching regular expression:
^(......).*_(.+?)(?:(\.)([^.]+)|$)
substitution expression:
\1 \2\3
For b),
matching regular expression:
^(......).*_(.+?)(?:\.[^.]+|$)
substitution expression:
\1 \2
For c),
matching regular expression:
^(......).*_(.+)
substitution expression:
\1 \2
* Matching patterns are tested to work with Perl but not with A Better Finder Rename, for I don't use the latter.
Hope this may help,
H