Hello all,
I've got a few thousand video clips that I would like rename. There are two things I'm trying to do.
First, most, but not all, file names begin with the name of the site. Examples are "bing.com." and "youtube.com.". Yes, there is a period following the word "com". So for those file names that start with "xxx.com.", can someone tell me how to strip it out?
Second, most, but not all, file names end with some kind of site ID or advert of some kind. When this is present, it is always preceded with either a double space or a hyphen. So what I want to do is drop the double space or hyphen (if present) and any text that follows. Can anyone tell me how this is done?
I've tried creating expressions to do these things, but they all have had undesired results.
Thank you for any help.
Marvin