I need to move the 4th dimension of my Java array to the 1st dimension:
myArray[a][...][...][b]
to
myArray[b][...][...][a]
I need to do this for all dimension names. My idea is to do this using the find and replace feature in Atom using regular expressions, but I am not familiar enough with them to do it quickly. Basically, this is what I am looking for:
myArray([][][])([])
to
myArray([])([][][])
It would be wonderful if you could provide me with the required Find and Replace fields in order to do this.