hiiiii ifound this code in script >> but i didnt undaerstand what for can any one help me to understand it
Regex.Replace(text,@"</?(((?!a|b|i|u|img|table|tr|td|/)[^>]*)| ((a|b|i|u|table|tr|td|img)[^\s>]{1,}))*>","$1");
Looks like it removes all HTML tags that don't begin with something in the list given (e.g. <a href=""> is valid, <embed> is not).
thanxxxxxx🙂
Don't forget to mark this thread resolved (if it is).