[..]I have hundreds of maps in the project.
When I have large source files to edit for syntax changes similar to what you are facing, I like to use TextPad, a text editor that has powerful search and replace feature using regular expressions.
I import the source code into Textpad, revise it and copy it back into the IDE.
I believe there is a free demo version of Textpad. I personally bought it because I use it a lot (I make no money off it, I am just a happy customer.)