public static string StripWwwPrefixFromHost(string host)
{
if (String.IsNullOrEmpty(host))
throw new ArgumentException("Cannot strip the www prefix from a null host", "host");
return Regex.Replace(host, @"^www.", string.Empty, RegexOptions.IgnoreCase);
}