Hi Mi_D,
Thanks for your support.
The above script works, only if the file has the same format. like below.
XX_5182179_ETERNITY_25TH_MB_AB_XYX_abc.ttjs
The rest of the file name remain unchanged.
because file names are not in same format..
varying... like below
XX_5182000_ETERNITY_25TH_XX_GUIDELINES_SIMPLE_GUIDELINES.ttjs,
XX_5185555_FER_31ST_AN_123_SIMPLE.ttjs
SO, we need to retain only the XX and digits and the last .ttjs extension.
i.e.
XX_(any digits here).ttjs
many thanks for the previous and future support.