You can do something like this to remove all tags (opening, closing, and self-closing) from the string, but this can have unintended consequences of removing user-entered things that were not supposed to be html tags:
text = Regex.Replace(text, "<\/?[^>]*\/?>", String.Empty);
Instead, I would recommend something like this and make it clear to the user that html is not supported:
text = text.Replace("<", "<"); text = text.Replace(">", ">");
Remember to check the 250 character limit before conversion:
text = text.Substring(0, 250);
source share