I have some files that I would like to rename using regex and powershell, but I am not sure of the patterns for the files.
Example of file names I need to rename and what they should end up looking like. ps placing the names in “” to account for spaces.
How the files are named now
“[abs] anima.some e147 name [480p].avi”
“anima.some e147 name #anim group .avi”
“anima.some e147 name [480p].avi”
“anima some e147 name [480p].avi”
How they should be name
“Anime some e147.avi”
How’s this:
The output is: