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](https://meta.stackexchange.com/a/314169/295232) 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](https://web.archive.org/) 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](https://gist.github.com/Glorfindel83/a6fdfac3a6d798f5de3155882a505344) 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 https://mathoverflow.net/q/28087/70594.