I ended up using numbers to create a mv command list to paste into terminal using the MID string function.
View attachment 608155
I was hoping to find a way to do it just in terminal, but I was only able to find syntax for replacing specific strings in file names, nothing similar to MID string function in numbers.