I have a string, that can have some html tags. I'd like to remove some of them (with the data on it), but not all tags.
In fact I'd like to remove <img />
and <div>...</div>
.
So for example, if I have the string hello <div>bye bye</div> marco
Id like to get hello marco
.
How can I do this on C#?