I have a bunch of files of youtube videos that have file names that are the date uploaded, the actual title on youtube, followed by a dash and a string of 11 characters and the amount of views it had when it was downloaded. I'd like to remove the last '-' and everything after so that way the file name is just the date uploaded and the actual youtube title. But some of them have a dash in the string of 11 characters. So is there an easy way of doing what I want?
Example file name: 20150810 WOMB RAIDER - Demo Disk Gameplay - 203Q7xbET_c [1407029 views]
Example file name: 20150822 GET REAPED - Dead Realm Gameplay - cptP-4XVCUE [596705 views]
Example of what I want: 20150810 WOMB RAIDER - Demo Disk Gameplay
Example of what I want: 20150822 GET REAPED - Dead Realm Gameplay