I've got a stack of folders and files I'm trying to clean up, easily a thousand or more, and I'm trying to use regex to save me a couple hundred hours and streamline things. I've found a few bits that match fragments here and there, but can't for the life of me figure out anything that works cleanly for more than a few files here and there. This is a sample of some of the folder and filenames:
5 Centimeters Per Second (2007) [1080p,BluRay,x264] - THORA
Astarotte no Omocha! (BD 720p) [Kirakira]
Kampfer - 01-12 (Inc Some Extras) [BD 1080p FLAC]
Shin Koihime Musou[01-12][BDRIP][MP4]+sp
05 16 04[AOST][Konomini Op&Ed]( Single)(320cbr).mp3
Revolutionary Girl Utena The Movie [Anime Fin].MKV
Lucky Star (BD 720p AAC DA)
[Elysium]Lucky Star EP22(BD 720p AAC DA)[3C5CD3CA].mkv
Fractale - 03 [BD][h264-720p][FLAC][E2D14722].mkv
[KTXP&DYMY][Shin Koihime Musou][BDRIP][X264 AAC][1080p](D6A64E81).mp4
(\[([^]]+)\]) seems to match a bracketed string (sometimes), and I know (.+?) matches everything except the extension. But is there a way, ideally with one regex string and not, say, running 20 different ones one after another, to convert those to:
5 Centimeters Per Second
Astarotte no Omocha!
Shin Koihime Musou
Konomini Op&Ed( Single).mp3
Revolutionary Girl Utena The Movie.mkv
Lucky Star EP22.mkv
Fractale - 03.mkv
Shin Koihime Musou 06.mp4
It seems to me the answer would be 'no', I may not know regex hardly at all, but it looks to me like a regex that would fix some of them, would ruin others. (Like the fact "Fractale" has its name in brackets and none of the others do, and some have Unicode characters with the name, too, which won't let me post examples of them here!) And, I think running multiple regex's to catch everything, would probably cause later regex's I ran to screw up the results from earlier ones?
Anyone have any ideas? I'd rather not go through each one, one by one, by hand, even going thru and running a regex string separately on each folder would take ages… is there any possible way to clean them all up in one fell swoop?