Hi again,
For another type of files mp3, I'm trying to zero pad them, but this time there's no '.' which I had taken as a reference in the first topic about this subject.
The files are like:
123456 English Class 67.mp3
654321 English Listening 23.mp3
I need to zero pad to 3 the number after Class, and to 2 the number after Listening, so I create an action group, which contains:
1-Format Value: A:
$if($neql($strstr(%_Filename%,lass),0),3,0)
(N.B: Here I put lass, because if I put class, it seems that there is sensibility to cases, and don't work, any suggestion welcomed)
2-Format Value: A:
$if($neql($strstr(%_Filename%,istening),0),2,0)
(N.B: Here I put istening, because if I put listening, it seems that there is sensibility to cases, and don't work, any suggestion welcomed)
3-Format Value: Filename
$if($eql(%A%,3),$regexp(%_Filename%,'^(\d+)\s([A-Za-z]+)\s([A-Za-z]+)\s([A-Za-z]+)\s(\d+)\s(-\d+)$','$1 $2 $3 $4 000$5 (-$6)'),%_Filename%)
4-Format Value: Filename
$if($eql(%A%,3),$regexp(%_Filename%,'^(\d+)\s([A-Za-z]+)\s([A-Za-z]+)\s([A-Za-z]+)\s(\d+)\s(-\d+)$','$1 $2 $3 $4 00$5 (-$6)'),%_Filename%)
BUT SURPRISE, AS YOU CAN IMAGINE, IT DIDN'T WORK, the 1 and 2 actions are OK, but I don't know what I'm doing wrong with the 3 and 4. I would like if you can correct me the error, but I'm opened to other ideas.
Any one can help? Thanks