How to Repair Hundreds of Mangled Links Thanks to the Alias Bug?

What do you mean by this?

This sounds like it might be something which could be in a post of it own? Maybe we could help you get a proper regex to remedy some of the situation with excessive dashes?