This is for .NET. IgnoreCase is set and MultiLine is NOT set.
Usually I\'m decent at regex, maybe I\'m running low on caffeine...
Users are allowed to enter
///
/// Trims the ignoring spacified tags
///
/// the text from which html is to be removed
/// specify if you want to remove scripts
/// specify the tags that are to be ignored while stripping
/// Stripped Text
public static string StripHtml(string text, bool isRemoveScript, params string[] ignorableTags)
{
if (!string.IsNullOrEmpty(text))
{
text = text.Replace("<", "<");
text = text.Replace(">", ">");
string ignorePattern = null;
if (isRemoveScript)
{
text = Regex.Replace(text, "