This is what I need:
We installed a wiki system (mediawiki, the same system wikipedia runs off of). We also imported some content pages. However, this is the problem: there are links to articles that do not exist, i.e. "red links" (as they appear)., vs. the blue links that go to an actual article.
I need a script that can find ONLY the "red" (not going to an actual article) links, and edit these links out, i.e. remove the link brackets from around the word. The trick here is the script should not remove the blue (going to an actual article links).