As some of you may have noticed, I have a script which repairs broken links / images, with some more options than the mass-replacement tool available to Stack Exchange staff. It can do all kinds of substitutions, checks if the new URL actually exists and if not, queries the Wayback Machine for a snapshot.
I fed it the following rules:
{
"urlPart": "front\\.math\\.ucdavis\\.edu/(0[0-6]\\d{2})\\.5(\\d{3})",
"status": "KNOWN_BROKEN",
"replacements": [
"arxiv.org/abs/math/$3$4"
]
},
{
"urlPart": "front\\.math\\.ucdavis\\.edu/(0[0-6]\\d{2})\\.47(\\d{2})",
"status": "KNOWN_BROKEN",
"replacements": [
"arxiv.org/abs/math-ph/$30$4"
]
},
{
"urlPart": "front\\.math\\.ucdavis\\.edu/(\\d{4}\\.\\d{4})",
"status": "KNOWN_BROKEN",
"replacements": [
"arxiv.org/abs/$3"
]
},
{
"urlPart": "front\\.math\\.ucdavis\\.edu/math(\\.LO)?/(\\d{7})",
"status": "KNOWN_BROKEN",
"replacements": [
"arxiv.org/abs/math/$4"
]
}
I just did a dry run and these are the replacements it would make. The first column is the number of posts the link appears in. I can't post the results here because the table is too large (an answer is limited to 30,000 characters).
The only link it cannot replace is http://front.math.ucdavis.edu/0309.3208
which appears in Number-theoretic congruences with geometry and topology?.
When everything checks out, I can limit the edits it makes to posts which cannot be repaired by the mass-replacement tool; after all, my edits will bump posts to the homepage.