public static string ConsolidateWhitespace(this string input) { return Regex.Replace(input.Trim(),"\\s+"," "); }