private static string ReplacePartialUrls(string blobAsText, string sourceContainerName, string destinationContainerName) { var replace = sourceContainerName; if (replace.StartsWith("v3-")) { replace = replace.Substring(3); } var with = destinationContainerName; if (with.StartsWith("v3-")) { with = with.Substring(3); } return blobAsText.Replace(replace, with); }