Using regex-substitution instead of string-replace, string-replace could cause a 404