/// <summary> /// Decides if the string contains HTML /// </summary> /// <param name="Input">Input string to check</param> /// <returns>false if it does not contain HTML, true otherwise</returns> public static bool ContainsHTML(this string Input) { return(string.IsNullOrEmpty(Input) ? false : STRIP_HTML_REGEX.IsMatch(Input)); }