Is there a tool or website that can prevent the use of script and HTML tags in TextBoxes and TextAreas?
Updated:
public static string RegexReplace(string input, string expression, string replace)
{
return Regex.Replace(input, expression, replace);
}
public static string RemoveHTMLTags(string text)
{
return RegexReplace(text, "<[^>]*>", string.Empty);
}