Jul 19, 2006 14:30
Regex to the rescue. I don't use regular expressions too often, so I'm leaving this entry for myself as an example for future reference.
To change every instance of \calU^{*} to \calU^{(*)},
find: \\calU\^\{\(0*\)\}
replace: \\calU\^\{(\0)\}
It'd be hard pressed for that to have been much easier.
latex,
phd