I believe I have created a script in the past using the attached file to accomplish what you are inquiring about. You will have to rename the .TXT extension to .LSP. Then create a script to load the lisp file on one line and "ATAG" on the next line to run the lisp file. Test it on something you have backed up!!
You will have to edit the block name, tag name, and new prompt withing the lisp file with a text editor. I left instructions in the file. It only works on one tag at a time, tho.
I hope it helps. (It's something I downloaded from someone else, so I can't take any credit: whether it helps or destroys.)
I'm not a lisp programmer and I'm not sure where to replace the Tag name in the lisp file. The name of my block is "TblockF" and the the tag name I'm trying to change is "CAD-NO" to "CAD_NO" can you show me where they actually go in the lisp file? Thank you.
I found that the previous file changed the prompt and not the tag name. I did some surfing and found and slightly modified the attached file for your specific usage.
You will have to rename the file to CATAG.LSP and place it in the folder with your drawings or in the AutoCAD search path.
Next create the following two line script exactly (with parentheses and quotes): (load "CATAG") CATAG
I tested it here based on the information you provided. It seemed to work.
BY THE WAY: I started a previous reply and got a little careless with the mouse. I'm not sure where the reply went. It may show up on the forum prior to this post. Please disregard it. It was sent prematurely by accident.