I want to remove everything after the last occurrence of a # until right before the file extension. It should work on files both with and without file extensions and not do anything at all if no # is found.
Ex 1.
0000 Title#10.wav should return 0000 Title.wav
Ex 2.
0010 Title 2#113 should return 0010 Title 2
Any clues on how to do it with applescript? I couldn't find any standard choice in automator that could do it.
Thanks!
Ex 1.
0000 Title#10.wav should return 0000 Title.wav
Ex 2.
0010 Title 2#113 should return 0010 Title 2
Any clues on how to do it with applescript? I couldn't find any standard choice in automator that could do it.
Thanks!