Anyone trying to batch rename files on Windows should check out PowerToys. It's a first-party app that adds a lot of useful utilities. One of them is PowerRename, which lets you batch rename files using regex for precise search and replace. It also has the option to preview changes before applying them.