public Calendar ParseICalendar(string source) { var cleanedSource = Regex.Replace(Regex.Replace(source.Replace("\r", "\n"), "\\n+", "\n"), "\\n(?:([^A-Z]))", "$1"); return(Calendar.Load(cleanedSource)); }