Does anyone know of a RegularExpression Validator or website thats stops script and html tags being used in TextBoxes and TextAreas
Updated:
public static string RegexReplace(string strin, string strExp, string strReplace)
{
return Regex.Replace(strin, strExp, strReplace);
}
public static string RemoveHTML(string strText)
{
return RegexReplace(strText, "<[^>]*>", string.Empty);
}