Read a MXD file and change all comma and blank spaces to nothing with Python, how to?

Discussion created by theotto on Aug 22, 2011
Latest reply on Aug 23, 2011 by theotto
I am going to upgrade a system from ArcIMS to ArcGIS Server and the MXD documents that ArcIMS used contained commas and blanks pace.
In ArcGIS Server they can not contain commas or blank spaces. I will get a error message if I use it.

Is there someone that has a Python Script that reads a MXD file and changes the comma (,) and blank spaces to nothing?

Best Regards