Hi,
I've searched the forum quite intensively, but I cannot find a solution for my specific problem.
I want to compare the file name like H-1013_BP1_0001.jpg with H-1013_1.jpg or H-1013.jpg.
Basically I want to override everything after the underscore. Everything else, (time stamp, size, folder,...) is supposed to be ignored.
I've tried (.*)_\w\d.*\.jpg =$1.jpg and a few other variations I adapted from forum posts, but I did not find a working solution so far.
Best regards
M
I've searched the forum quite intensively, but I cannot find a solution for my specific problem.
I want to compare the file name like H-1013_BP1_0001.jpg with H-1013_1.jpg or H-1013.jpg.
Basically I want to override everything after the underscore. Everything else, (time stamp, size, folder,...) is supposed to be ignored.
I've tried (.*)_\w\d.*\.jpg =$1.jpg and a few other variations I adapted from forum posts, but I did not find a working solution so far.
Best regards
M
Comment